Divides a scalar by each element of a matrix.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Matrix<T> ElementwiseDivide<T>(
T left,
Matrix<T> right
)
Public Shared Function ElementwiseDivide(Of T) (
left As T,
right As Matrix(Of T)
) As Matrix(Of T)
public:
generic<typename T>
static Matrix<T>^ ElementwiseDivide(
T left,
Matrix<T>^ right
)
static member ElementwiseDivide :
left : 'T *
right : Matrix<'T> -> Matrix<'T>
Parameters
- left
- Type: T
A scalar. - right
- Type: Extreme.MathematicsMatrixT
A matrix.
Type Parameters
- T
Return Value
Type:
MatrixTA new matrix whose elements are equal to the quotient
of the elements of
left divided
right .
Reference