The in-memory representation of a SparseHessianMatrix.. More...
#include <OSGeneral.h>
Public Member Functions | |
SparseHessianMatrix () | |
Default constructor. | |
SparseHessianMatrix (int startSize, int valueSize) | |
An Alternative Constructor. | |
~SparseHessianMatrix () | |
Default destructor. | |
Public Attributes | |
bool | bDeleteArrays |
bDeleteArrays is true if we delete the arrays in garbage collection set to true by default | |
int | hessDimension |
hessDimension is the number of nonzeros in each array. | |
int * | hessRowIdx |
hessRowIdx is an integer array of row indicies in the range 0, . | |
int * | hessColIdx |
hessColIdx is an integer array of column indicies in the range 0, . | |
double * | hessValues |
hessValues is a double array of the Hessian values. |
The in-memory representation of a SparseHessianMatrix..
Store and uppertriangular Hessian Matrix in sparse format
Assume there are n variables in what follows
Definition at line 311 of file OSGeneral.h.
SparseHessianMatrix::SparseHessianMatrix | ( | ) |
Default constructor.
Definition at line 289 of file OSGeneral.cpp.
SparseHessianMatrix::SparseHessianMatrix | ( | int | startSize, | |
int | valueSize | |||
) |
An Alternative Constructor.
startSize | holds the size of the arrays. | |
valueSize | holds the size of the value and index arrays. |
SparseHessianMatrix::~SparseHessianMatrix | ( | ) |
Default destructor.
Definition at line 300 of file OSGeneral.cpp.
bDeleteArrays is true if we delete the arrays in garbage collection set to true by default
Definition at line 319 of file OSGeneral.h.
hessDimension is the number of nonzeros in each array.
Definition at line 324 of file OSGeneral.h.
hessRowIdx is an integer array of row indicies in the range 0, .
.., n - 1.
Definition at line 329 of file OSGeneral.h.
hessColIdx is an integer array of column indicies in the range 0, .
.., n - 1.
Definition at line 334 of file OSGeneral.h.
double* SparseHessianMatrix::hessValues |
hessValues is a double array of the Hessian values.
Definition at line 339 of file OSGeneral.h.