a sparse Jacobian matrix data structure More...
#include <OSDataStructures.h>
Public Member Functions | |
SparseJacobianMatrix () | |
Default constructor. | |
SparseJacobianMatrix (int startSize, int valueSize) | |
Constructor. | |
~SparseJacobianMatrix () | |
Default destructor. | |
Public Attributes | |
bool | bDeleteArrays |
bDeleteArrays is true if we delete the arrays in garbage collection set to true by default | |
int | startSize |
startSize is the dimension of the starts array -- should equal number of rows + 1 | |
int | valueSize |
valueSize is the dimension of the values array | |
int * | starts |
starts holds an integer array of start elements, each start element pints to the start of partials for that row | |
int * | conVals |
conVals holds an integer array of integers, conVals[i] is the number of constant terms in the gradient for row i. | |
int * | indexes |
indexes holds an integer array of variable indicies. | |
double * | values |
values holds a double array of nonzero partial derivatives |
a sparse Jacobian matrix data structure
Definition at line 167 of file OSDataStructures.h.
SparseJacobianMatrix::SparseJacobianMatrix | ( | ) |
Default constructor.
SparseJacobianMatrix::SparseJacobianMatrix | ( | int | startSize, | |
int | valueSize | |||
) |
Constructor.
startSize | holds the size of the start array. | |
valueSize | holds the size of the value and index arrays. |
SparseJacobianMatrix::~SparseJacobianMatrix | ( | ) |
Default destructor.
bDeleteArrays is true if we delete the arrays in garbage collection set to true by default
Definition at line 174 of file OSDataStructures.h.
startSize is the dimension of the starts array -- should equal number of rows + 1
Definition at line 179 of file OSDataStructures.h.
valueSize is the dimension of the values array
Definition at line 184 of file OSDataStructures.h.
starts holds an integer array of start elements, each start element pints to the start of partials for that row
Definition at line 190 of file OSDataStructures.h.
conVals holds an integer array of integers, conVals[i] is the number of constant terms in the gradient for row i.
Definition at line 196 of file OSDataStructures.h.
indexes holds an integer array of variable indicies.
Definition at line 201 of file OSDataStructures.h.
double* SparseJacobianMatrix::values |
values holds a double array of nonzero partial derivatives
Definition at line 206 of file OSDataStructures.h.