choreo.segm.ODE.ImplicitRKTable.symmetric_adjoint#
- ImplicitRKTable.symmetric_adjoint(self) ImplicitRKTable #
Computes the symmetric adjoint of a
ImplicitRKTable
.An integration method for an initial value problem maps a function value at an initial time to a final value. The symmetric adjoint of a method applied to the time-reversed system is the method that maps the final value given by the original method to the initial value. A method that is equal to its own symmetric adjoint is called symmetric.
Example
>>> import numpy as np >>> import choreo >>> random_method = choreo.segm.multiprec_tables.ComputeImplicitRKTable(nodes=np.random.random(10)) >>> random_method.is_symmetric_pair(random_method.symmetric_adjoint()) True
See also
- Returns:
The adjoint Runge-Kutta method.
- Return type: