Functions

sc_jacobian.h File Reference

Computes the Jacobian of a nonlinear system. More...

Functions

ml_matrix jacobian (ml_matrix RHS(ml_matrix x, double t, void *context), ml_matrix &x, double t, void *context)
 Computes the Jacobian of a nonlinear system.

Detailed Description


Function Documentation

ml_matrix jacobian ( ml_matrix   RHSml_matrix x, double t, void *context,
ml_matrix &  x,
double  t,
void *  context 
)

Computes the Jacobian of a nonlinear system. The partials are taken with respect to the x vector. This function computes the jacobian of the function RHS which is passed to jacobian.

Parameters:
RHS(ml_matrix x, double t, void *context )
xState vector
tTime
*contextPointer to data used by RHS
Returns:
The current target quaternion (4x1)