| DoubleCsrSparseMatrixMultiply(Double, DoubleCsrSparseMatrix) Operator |
Multiply a scalar and a sparse matrix.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleCsrSparseMatrix operator *(
double s,
DoubleCsrSparseMatrix A
)
Public Shared Operator * (
s As Double,
A As DoubleCsrSparseMatrix
) As DoubleCsrSparseMatrix
public:
static DoubleCsrSparseMatrix^ operator *(
double s,
DoubleCsrSparseMatrix^ A
)
static let inline (*)
s : float *
A : DoubleCsrSparseMatrix : DoubleCsrSparseMatrix
Parameters
- s Double
- A scalar.
- A DoubleCsrSparseMatrix
- A sparse matrix.
Return Value
DoubleCsrSparseMatrixA sparse matrix
B where
B[i,j] = s * A[i,j].
See Also