ScaMaC
0.8.2
A Scalable Matrix Collection
|
Sparse matrix creation and manipulation. More...
Go to the source code of this file.
Functions | |
ScamacErrorCode | scamac_sparsemat_mvm (const ScamacMatrix *sm, const ScamacVector *x, ScamacVector *y, double alpha, double beta, double gamma) |
Sparse matrix-vector multiplication: y = alpha SM x + beta y + gamma x. More... | |
ScamacErrorCode | scamac_sparsemat_mvm_cplx (const ScamacMatrix *sm, const ScamacVector *x, ScamacVector *y, double complex alpha, double complex beta, double complex gamma) |
Complex sparse matrix-vector multiplication: y = alpha SM x + beta y + gamma x. More... | |
Sparse matrix creation and manipulation.
ScamacErrorCode scamac_sparsemat_mvm | ( | const ScamacMatrix * | sm, |
const ScamacVector * | x, | ||
ScamacVector * | y, | ||
double | alpha, | ||
double | beta, | ||
double | gamma | ||
) |
Sparse matrix-vector multiplication: y = alpha SM x + beta y + gamma x.
ScamacErrorCode scamac_sparsemat_mvm_cplx | ( | const ScamacMatrix * | sm, |
const ScamacVector * | x, | ||
ScamacVector * | y, | ||
double complex | alpha, | ||
double complex | beta, | ||
double complex | gamma | ||
) |
Complex sparse matrix-vector multiplication: y = alpha SM x + beta y + gamma x.