BandJacobianMatrixEvaluator Type

Approximates the jacobian matrix using finite differences (assuming the jacobian is a band matrix with a fixed lower and upper bandwidth).

Constructors

Constructor Description

BandJacobianMatrixEvaluator(f, lowerBandwidth, upperBandwidth)

Full Usage: BandJacobianMatrixEvaluator(f, lowerBandwidth, upperBandwidth)

Parameters:
    f : Action<float, float[], float[]> - The function to calculate the derivatives. First argument is the independent variable (usually designated with x or t), 2nd argument is the array of y values, and the third array accomodates the calculated derivatives dy/dx.
    lowerBandwidth : int - The lower bandwidth of the band matrix.
    upperBandwidth : int - The upper bandwidth of the band matrix.

Initializes a new instance of the DenseJacobianMatrixEvaluator class.

f : Action<float, float[], float[]>

The function to calculate the derivatives. First argument is the independent variable (usually designated with x or t), 2nd argument is the array of y values, and the third array accomodates the calculated derivatives dy/dx.

lowerBandwidth : int

The lower bandwidth of the band matrix.

upperBandwidth : int

The upper bandwidth of the band matrix.

Instance members

Instance member Description

this.EvaluateJacobian

Full Usage: this.EvaluateJacobian

Parameters:
    x : float - The value of the independent variable (usually named x or t).
    y : float[] - The array of y values.
    jac : byref<IMatrix<float>> - At return, contains the matrix with jacobian values. If you provide null as this parameter, a new matrix is allocated.

Evaluates the jacobian matrix.

x : float

The value of the independent variable (usually named x or t).

y : float[]

The array of y values.

jac : byref<IMatrix<float>>

At return, contains the matrix with jacobian values. If you provide null as this parameter, a new matrix is allocated.