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#
A matrix whose elements are the corresponding elements of matrix divided by factor.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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
Argument | matrix is null. |