verry.autodiff.DynJet#
- final class verry.autodiff.DynJet(coeffs)#
Bases:
Jet[T,Any],GenericJet for an arbitrary coefficient type.
- Parameters:
coeffs (Iterable[T]) – Coefficients of the jet.
- Variables:
coeffs (list[T]) – Coefficients of the jet.
Warning
All the elements of coeffs must have a same type, and they must not be instances of
JetorDynDual.- __call__(arg)#
Call self as a function.
- reciprocal()#
Return the reciprocal of the jet.
- Raises:
ZeroDivisionError – If the constant term is not invertible.
- property order#
Order of the jet.
This is a shorthand for
len(self.coeffs) - 1.