Closed alexfikl closed 1 month ago
We also want to separate these:
weights
for the ODE solvers: currently very copy pasted :(
diffs
to compute the gradient at a given point: currently pycaputo.grad
just evaluates everything and takes the last point :(
Right now, calling
will evaluate the fractional derivative of func on all the points, e.g. $
D_C^\alpha[f](x_n)
$ for all $x_n$. Ideally, we want to be more coarse grained herediff(method, func, points)
: left as now to evaluate at all points, but mainly just a simple wrapper arounddiffs
.weights(method, x)
: just computes the quadrature weights for x points, i.e. to integrate fromx[0]
tox[-1]
.diffs(method, func, points)
: only evaluates at $x_n$. (extra s for single?)