We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To add backwards compatibility with derivative.py, a function-style api should be implemented on top of this project's derivative interface.
E.g. from derivative.py/derivative/derivative.py on 05/04/2020:
methods = {} def register(name=""): def inner(f): n = name or f.__name__ methods[n] = f return f return inner from .loc import * from .glob import * def derivative(x, y, kind="finitediff", **kwargs): method = methods.get(kind) f = lambda y: method(x, y, **kwargs) if len(y.shape) > 1: return np.apply_along_axis(f, 0, y) else: return f(y)
The text was updated successfully, but these errors were encountered:
feature added in version 0.1.1, see commit #70f89f9
Sorry, something went wrong.
andgoldschmidt
No branches or pull requests
To add backwards compatibility with derivative.py, a function-style api should be implemented on top of this project's derivative interface.
E.g. from derivative.py/derivative/derivative.py on 05/04/2020:
The text was updated successfully, but these errors were encountered: