DistributedMatrix<T>.AddCore Method

Definition

Namespace: Numerics.NET.Distributed
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2

Overload List

AddCore(T, Matrix<T>)

Adds a scalar to a matrix in-place.
C#
protected override 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