Functions

src/obase/WeightSpread.h File Reference

Go to the source code of this file.

Functions

bool getWeightSpread ()
 > spread of the weights.
void setWeightSpread ()
void clearWeightSpread ()
bool getWeightSpreadCLSQR ()
void setWeightSpreadCLSQR ()
void clearWeightSpreadCLSQR ()
void addForWeightSpread (MATRIX *A, Float epsilon)

Function Documentation

void addForWeightSpread ( MATRIX A,
Float  epsilon 
)

Add epsilon to each diagonal element of matrix for WeightSpread

Parameters:
[in] A Matrix A(k)
[in] epsilon current value of parameter epsilon. NOTE: assume epsilon is multiplied by (1/N).
void clearWeightSpread (  ) 

Clear the indicator and don't control for the spread of the weights.

void clearWeightSpreadCLSQR (  ) 

Clear the indicator and don't control for the spread of the weights.

bool getWeightSpread (  ) 

> spread of the weights.

> Single instance of flag to control the Returns true if controlling the spread of the weights; false otherwise

bool getWeightSpreadCLSQR (  ) 

Returns true if controlling the spread of the weights; false otherwise

void setWeightSpread (  ) 

Set the indicator and control for the spread of the weights.

void setWeightSpreadCLSQR (  ) 

Set the indicator and control for the spread of the weights.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines