| DoubleCsrSparseMatrixDivide Method |
Divides a sparse matrix by a scalar.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleCsrSparseMatrix Divide(
DoubleCsrSparseMatrix A,
double s
)
Public Shared Function Divide (
A As DoubleCsrSparseMatrix,
s As Double
) As DoubleCsrSparseMatrix
public:
static DoubleCsrSparseMatrix^ Divide(
DoubleCsrSparseMatrix^ A,
double s
)
static member Divide :
A : DoubleCsrSparseMatrix *
s : float -> DoubleCsrSparseMatrix
Parameters
- A DoubleCsrSparseMatrix
- A sparse matrix.
- s Double
- A scalar.
Return Value
DoubleCsrSparseMatrixA sparse matrix
B where
B[i,j] = A[i,j] / s.
See Also