8 #ifndef SCAMAC_SPARSEMAT_MVM_H 9 #define SCAMAC_SPARSEMAT_MVM_H 22 ScamacErrorCode
scamac_sparsemat_mvm(
const ScamacMatrix *sm,
const ScamacVector *x, ScamacVector *y,
double alpha,
double beta,
double gamma);
31 double complex alpha,
double complex beta,
double complex gamma);
Sparse matrix creation and manipulation.
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.
Vector 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.