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

Adds a scalar to a matrix in-place.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
protected virtual Matrix<T> AddCore(
	T value,
	Matrix<T> result
)

Parameters

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

Return Value

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

See Also