Click or drag to resize

DiagonalMatrixDoMultiply(Double, MatrixDouble) Method

Multiplies each element of the matrix by a scalar and places results into the result matrix.

Namespace: Altaxo.Calc.LinearAlgebra.Double
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
protected override void DoMultiply(
	double scalar,
	Matrix<double> result
)

Parameters

scalar  Double
The scalar to multiply the matrix with.
result  MatrixDouble
The matrix to store the result of the multiplication.
Exceptions
ExceptionCondition
ArgumentExceptionIf the result matrix's dimensions are not the same as this matrix.
See Also