The in-memory representation of a SparseHessianMatrix.. More...
#include <OSGeneral.h>
Public Member Functions | |
SparseHessianMatrix () | |
Default constructor. More... | |
SparseHessianMatrix (int startSize, int valueSize) | |
An Alternative Constructor. More... | |
~SparseHessianMatrix () | |
Default destructor. More... | |
Public Attributes | |
bool | bDeleteArrays |
bDeleteArrays is true if we delete the arrays in garbage collection set to true by default More... | |
int | hessDimension |
hessDimension is the number of nonzeros in each array. More... | |
int * | hessRowIdx |
hessRowIdx is an integer array of row indices in the range 0, ..., n - 1. More... | |
int * | hessColIdx |
hessColIdx is an integer array of column indices in the range 0, ..., n - 1. More... | |
double * | hessValues |
hessValues is a double array of the Hessian values. More... | |
The in-memory representation of a SparseHessianMatrix..
Store an upper-triangular Hessian Matrix in sparse format
Assume there are n variables in what follows
Definition at line 376 of file OSGeneral.h.
SparseHessianMatrix::SparseHessianMatrix | ( | ) |
Default constructor.
Definition at line 350 of file OSGeneral.cpp.
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 361 of file OSGeneral.cpp.
bool SparseHessianMatrix::bDeleteArrays |
bDeleteArrays is true if we delete the arrays in garbage collection set to true by default
Definition at line 384 of file OSGeneral.h.
int SparseHessianMatrix::hessDimension |
hessDimension is the number of nonzeros in each array.
Definition at line 389 of file OSGeneral.h.
int* SparseHessianMatrix::hessRowIdx |
hessRowIdx is an integer array of row indices in the range 0, ..., n - 1.
Definition at line 394 of file OSGeneral.h.
int* SparseHessianMatrix::hessColIdx |
hessColIdx is an integer array of column indices in the range 0, ..., n - 1.
Definition at line 399 of file OSGeneral.h.
double* SparseHessianMatrix::hessValues |
hessValues is a double array of the Hessian values.
Definition at line 404 of file OSGeneral.h.