Click or drag to resize

DoubleMatrixMultiply(Double, DoubleMatrix, DoubleMatrix) Method

Multiply a scalar and a matrix.

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

Parameters

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