| FloatCsrSparseMatrixMultiply(Single, FloatCsrSparseMatrix) Method |
Multiply a scalar and a sparse matrix.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static FloatCsrSparseMatrix Multiply(
float s,
FloatCsrSparseMatrix A
)
Public Shared Function Multiply (
s As Single,
A As FloatCsrSparseMatrix
) As FloatCsrSparseMatrix
public:
static FloatCsrSparseMatrix^ Multiply(
float s,
FloatCsrSparseMatrix^ A
)
static member Multiply :
s : float32 *
A : FloatCsrSparseMatrix -> FloatCsrSparseMatrix
Parameters
- s Single
- A scalar.
- A FloatCsrSparseMatrix
- A sparse matrix.
Return Value
FloatCsrSparseMatrixA sparse matrix
B where
B[i,j] = s * A[i,j].
See Also