ConstantMatrix<T>.DivideCore Method

Divides the elements of this matrix by a scalar.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
C#
protected override Matrix<T> DivideCore(
	T divisor,
	Matrix<T>? result
)

Parameters

divisor  T
The scalar divisor.
result  Matrix<T>
The matrix that receives the result.

Return Value

Matrix<T>
The matrix that contains the quotients.

Remarks

This core is used for integer element types, for which reciprocal multiplication does not preserve scalar-division semantics.

See Also