public interface ODEJacobiansProvider extends OrdinaryDifferentialEquation, NamedParameterJacobianProvider
first order
differential equations
in order to compute exactly the Jacobian
matrices for partial derivatives equations
.Modifier and Type | Method and Description |
---|---|
double[][] |
computeMainStateJacobian(double t,
double[] y,
double[] yDot)
Compute the Jacobian matrix of ODE with respect to state.
|
default double[] |
computeParameterJacobian(double t,
double[] y,
double[] yDot,
String paramName)
Compute the Jacobian matrix of ODE with respect to one parameter.
|
default List<String> |
getParametersNames()
Get the names of the supported parameters.
|
default boolean |
isSupported(String name)
Check if a parameter is supported.
|
computeDerivatives, getDimension, init
double[][] computeMainStateJacobian(double t, double[] y, double[] yDot) throws MathIllegalArgumentException, MathIllegalStateException
t
- current value of the independent time variabley
- array containing the current value of the main state vectoryDot
- array containing the current value of the time derivative of the main state vectorMathIllegalStateException
- if the number of functions evaluations is exceededMathIllegalArgumentException
- if arrays dimensions do not match equations settingsdefault List<String> getParametersNames()
The default implementation has no parameters at all.
getParametersNames
in interface Parameterizable
Parameterizable.isSupported(String)
default boolean isSupported(String name)
Supported parameters are those listed by Parameterizable.getParametersNames()
.
The default implementation supports no parameters at all.
isSupported
in interface Parameterizable
name
- parameter name to checkParameterizable.getParametersNames()
default double[] computeParameterJacobian(double t, double[] y, double[] yDot, String paramName) throws MathIllegalArgumentException
If the parameter does not belong to the collection returned by
Parameterizable.getParametersNames()
, the Jacobian will be set to 0,
but no errors will be triggered.
The default implementation supports no parameters at all.
computeParameterJacobian
in interface NamedParameterJacobianProvider
t
- current value of the independent time variabley
- array containing the current value of the main state vectoryDot
- array containing the current value of the time derivative
of the main state vectorparamName
- name of the parameter to considerMathIllegalArgumentException
- if arrays dimensions do not match equations settingsCopyright © 2016–2019 Hipparchus.org. All rights reserved.