Click or drag to resize

DoubleMatrixDivide(DoubleMatrix, Double, DoubleMatrix) Method

Divide a matrix by a scalar.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static void Divide(
	DoubleMatrix A,
	double s,
	DoubleMatrix B
)

Parameters

A  DoubleMatrix
A matrix.
s  Double
A scalar.
B  DoubleMatrix
A matrix whose contents are overwritten by the quotient B[i,j] = A[i,j] / s.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if A and B do not have the same dimensions.
See Also