Public Member Functions | Public Attributes | List of all members
SparseHessianMatrix Class Reference

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...
 
inthessRowIdx
 hessRowIdx is an integer array of row indices in the range 0, ..., n - 1. More...
 
inthessColIdx
 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...
 

Detailed Description

The in-memory representation of a SparseHessianMatrix..

Remarks

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.

Constructor & Destructor Documentation

SparseHessianMatrix::SparseHessianMatrix ( )

Default constructor.

Definition at line 350 of file OSGeneral.cpp.

SparseHessianMatrix::SparseHessianMatrix ( int  startSize,
int  valueSize 
)

An Alternative Constructor.

Parameters
startSizeholds the size of the arrays.
valueSizeholds the size of the value and index arrays.
SparseHessianMatrix::~SparseHessianMatrix ( )

Default destructor.

Definition at line 361 of file OSGeneral.cpp.

Member Data Documentation

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.


The documentation for this class was generated from the following files: