ConstantMatrix<T>.MultiplyCore Method

Multiplies a matrix by a scalar.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
protected override Matrix<T> MultiplyCore(
	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