Matrix.Elementwise Divide<T>(T, Matrix<T>) Method
Divides a scalar by each element of a matrix.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A new matrix whose elements are equal to the quotient of the elements of left divided right .
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Matrix<T> ElementwiseDivide<T>(
T left,
Matrix<T> right
)
Parameters
- left T
- A scalar.
- right Matrix<T>
- A matrix.
Type Parameters
- T
Return Value
Matrix<T>A new matrix whose elements are equal to the quotient of the elements of left divided right .
Exceptions
Argument | right is null |
Dimension | The length of left does not equal the length of right. |