Matrix.Divide<T> Method

Divides a matrix by a scalar.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public static Matrix<T> Divide<T>(
	Matrix<T> matrix,
	T factor
)

Parameters

matrix  Matrix<T>
A matrix.
factor  T
A number.

Type Parameters

T

Return Value

Matrix<T>
A matrix whose elements are the corresponding elements of matrix divided by factor.

Exceptions

ArgumentNullException

matrix is null.

See Also