This PR adds the functionality suggested in #66 to the findiff.coefficients function as an optional feature, activated via the kwarg analytic_inv (happy for suggestions of a better name).
It implements the first equation for the matrix entries b_{kj} under "Proof 1" at the ProofWiki entry, up to transposition and re-indexing to get to 0-based indices.
It supports symbolic=True and symbolic=False.
I also added raising of two tiny ValueError for the cases of
neither acc nor offsets being provided, and
the required differentiation order being to high for the number of given offsets.
This PR adds the functionality suggested in #66 to the
findiff.coefficients
function as an optional feature, activated via the kwarganalytic_inv
(happy for suggestions of a better name).It implements the first equation for the matrix entries b_{kj} under "Proof 1" at the ProofWiki entry, up to transposition and re-indexing to get to 0-based indices. It supports
symbolic=True
andsymbolic=False
.I also added raising of two tiny
ValueError
for the cases ofacc
noroffsets
being provided, andoffsets
.Tests are duplicated to use
analytic_inv=True
.