Divides a matrix by a scalar.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Matrix<T> Divide<T>(
Matrix<T> matrix,
T factor
)
Public Shared Function Divide(Of T) (
matrix As Matrix(Of T),
factor As T
) As Matrix(Of T)
public:
generic<typename T>
static Matrix<T>^ Divide(
Matrix<T>^ matrix,
T factor
)
static member Divide :
matrix : Matrix<'T> *
factor : 'T -> Matrix<'T>
Parameters
- matrix
- Type: Extreme.MathematicsMatrixT
A matrix. - factor
- Type: T
A number.
Type Parameters
- T
Return Value
Type:
MatrixTA matrix whose elements are
the corresponding elements of
matrix
divided by
factor.
Reference