verry.autodiff.IntervalJet#

final class verry.autodiff.IntervalJet(coeffs)#

Bases: Jet[Interval, T | int | float], Generic

Jet with interval coefficients.

Parameters:

coeffs (Iterable[Interval[T]])

Variables:

coeffs (Iterable[Interval[T]])

Warning

All the elements of coeffs must have a same type.

__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.