Matrix.ElementwiseDivideInto<T>(T, Matrix<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#
public static Matrix<T> ElementwiseDivideInto<T>(
	T left,
	Matrix<T> right,
	Matrix<T> result
)

Parameters

left  T
A scalar.
right  Matrix<T>
A matrix.
result  Matrix<T>
The matrix that is to hold the result. May be null.

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

ArgumentNullException

right is null

DimensionMismatchException The length of left does not equal the length of right.

See Also