Matrix.AddInto<T>(Matrix<T>, T, Matrix<T>) Method

Adds a matrix and a scalar.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static Matrix<T> AddInto<T>(
	Matrix<T> matrix,
	T value,
	Matrix<T> result
)

Parameters

matrix  Matrix<T>
A matrix.
value  T
The constant.
result  Matrix<T>
The matrix that is to hold the result. May be null.

Type Parameters

T

Return Value

Matrix<T>
A matrix whose elements are the sum of the corresponding elements of matrix and value.

Exceptions

ArgumentNullExceptionmatrix is null.

See Also