orbithunter.core.Orbit.matvec

Orbit.matvec(other, **kwargs)[source]

Matrix-vector product of Jacobian and orbit_vector from other instance.

Parameters
otherOrbit

Orbit whose state represents the vector in the matrix-vector product.

Returns
orbit_matvec :

Orbit with values representative of the matrix-vector product.

Notes

This method represents the matrix-vector product of the Jacobian matrix with an orbit vector of dimension self.size+len(self.parameters). Typically for these systems, the Jacobian has dimensions [self.size, self.size + len(self.parameters) - len(self.constants)]. Because there are no associated components for the parameters (i.e. the last elements of the orbit vector), it is often convenient to simply pass the current state’s parameters to the new instance; this philosophy mimics the eqn() method. Because the general Orbit template doesn’t have an associated equation, return an array of zeros for its state.

Assumed to be in ‘spatiotemporal’ basis. Equals J * dx