SpM Handbook 1.2.4
|
Scaling routines. More...
Functions | |
void | s_spmScal (const float alpha, spmatrix_t *spm) |
Scal the spm: A = alpha * A. | |
void | d_spmScal (const double alpha, spmatrix_t *spm) |
Scal the spm: A = alpha * A. | |
void | c_spmScal (const float alpha, spmatrix_t *spm) |
Scal the spm: A = alpha * A. | |
void | z_spmScal (const double alpha, spmatrix_t *spm) |
Scal the spm: A = alpha * A. | |
Scaling routines.
void s_spmScal | ( | const float | alpha, |
spmatrix_t * | spm | ||
) |
Scal the spm: A = alpha * A.
[in] | alpha | The scaling parameter. |
[in,out] | spm | The spm which needs to be scaled. |
Definition at line 39 of file s_spm_scal.c.
References spmatrix_s::nnzexp, and spmatrix_s::values.
Referenced by spmScal().
void d_spmScal | ( | const double | alpha, |
spmatrix_t * | spm | ||
) |
Scal the spm: A = alpha * A.
[in] | alpha | The scaling parameter. |
[in,out] | spm | The spm which needs to be scaled. |
Definition at line 39 of file d_spm_scal.c.
References spmatrix_s::nnzexp, and spmatrix_s::values.
Referenced by spmScal().
void c_spmScal | ( | const float | alpha, |
spmatrix_t * | spm | ||
) |
Scal the spm: A = alpha * A.
[in] | alpha | The scaling parameter. |
[in,out] | spm | The spm which needs to be scaled. |
Definition at line 39 of file c_spm_scal.c.
References spmatrix_s::nnzexp, and spmatrix_s::values.
Referenced by spmScal().
void z_spmScal | ( | const double | alpha, |
spmatrix_t * | spm | ||
) |
Scal the spm: A = alpha * A.
[in] | alpha | The scaling parameter. |
[in,out] | spm | The spm which needs to be scaled. |
Definition at line 39 of file z_spm_scal.c.
References spmatrix_s::nnzexp, and spmatrix_s::values.
Referenced by spmScal().