|
void | colCenter (gsl_matrix *inplace) |
| Matrix centering in-place. More...
|
|
void | colCenter (const gsl_matrix *source, gsl_matrix *res) |
| Matrix centering with copy. More...
|
|
void | colCenter (gsl_matrix *inplace, const double &absLab) |
| Matrix centering in-place with missing values. More...
|
|
void | colCenter (const gsl_matrix *source, gsl_matrix *res, const double &absLab) |
| Matrix centering with copy and missing values. More...
|
|
void | vecCenter (gsl_vector *inplace) |
| Vector centering in-place. More...
|
|
void | vecCenter (const gsl_vector *source, gsl_vector *res) |
| Vector centering with copy. More...
|
|
void | meanImpute (gsl_matrix *inplace, const double &absLab) |
| Mean imputation without centering. More...
|
|
Functions that center matrix columns and vectors.
◆ colCenter() [1/4]
void colCenter |
( |
const gsl_matrix * |
source, |
|
|
gsl_matrix * |
res |
|
) |
| |
Matrix centering with copy.
- Parameters
-
[in] | gsl_matrix* | the matrix to be centered, left unmodified |
[out] | gsl_matrix* | the modified matrix |
◆ colCenter() [2/4]
void colCenter |
( |
const gsl_matrix * |
source, |
|
|
gsl_matrix * |
res, |
|
|
const double & |
absLab |
|
) |
| |
Matrix centering with copy and missing values.
In addition to centering does mean-imputation of missing values.
- Parameters
-
[in] | gsl_matrix* | matrix to be centered, but not changed |
[out] | gsl_matrix* | centered matrix |
[in] | double& | label for missing values |
◆ colCenter() [3/4]
void colCenter |
( |
gsl_matrix * |
inplace | ) |
|
Matrix centering in-place.
- Parameters
-
[in,out] | gsl_matrix* | the matrix to be modified in-place |
◆ colCenter() [4/4]
void colCenter |
( |
gsl_matrix * |
inplace, |
|
|
const double & |
absLab |
|
) |
| |
Matrix centering in-place with missing values.
- Parameters
-
[in,out] | gsl_matrix* | matrix to be modified in-place |
[in] | double& | label for missing values |
◆ meanImpute()
void meanImpute |
( |
gsl_matrix * |
inplace, |
|
|
const double & |
absLab |
|
) |
| |
Mean imputation without centering.
- Parameters
-
[in,out] | gsl_matrix* | matrix to be modified in-place |
[in] | double& | label for missing values |
◆ vecCenter() [1/2]
void vecCenter |
( |
const gsl_vector * |
source, |
|
|
gsl_vector * |
res |
|
) |
| |
Vector centering with copy.
- Parameters
-
[in] | gsl_vector* | vector to be centered, but not changed |
[out] | gsl_vector* | modified vector |
◆ vecCenter() [2/2]
void vecCenter |
( |
gsl_vector * |
inplace | ) |
|
Vector centering in-place.
- Parameters
-
[in,out] | gsl_vector* | vector to be modified |
[in] | double& | label for missing values |