Functions | Variables

src/obase/WeightSpread.c File Reference

Functions

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

Variables

static bool wSpreadLSQR = false
static bool wSpreadCLSQR = false
 > spread of the weights.

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.


Variable Documentation

bool wSpreadCLSQR = false [static]

> spread of the weights.

> Single instance of flag to control the

bool wSpreadLSQR = false [static]
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines