propeller.tools.calculus
Functions for calculus operations
deriv
(deriv f c)
(deriv f)
Returns the derivative of f evaluated at c. If called with only one argument, it returns the derivative function.
integrate
(integrate f)
(integrate f a b)
Returns the definite integral of f over a, b using Simpson’s method. If called with only one argument (the function), returns the indefinite integral, which takes as input a value x and (optionally) a constant c.