Click or drag to resize

MatrixTAdd(T, MatrixT) Method

Adds a scalar to each element of the matrix and stores the result in the result matrix.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void Add(
	T scalar,
	Matrix<T> result
)

Parameters

scalar  T
The scalar to add.
result  MatrixT
The matrix to store the result of the addition.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionIf the two matrices don't have the same dimensions.
See Also