Matrix<T>.GreaterThanCore Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

GreaterThanCore(T, Matrix<Boolean>) Checks if the elements of one matrix are greater than a constant.
GreaterThanCore(Matrix<T>, Matrix<Boolean>) Checks if the elements of one matrix are greater than the corresponding elements of another matrix.

GreaterThanCore(T, Matrix<Boolean>)

Checks if the elements of one matrix are greater than a constant.
C#
protected virtual Matrix<bool> GreaterThanCore(
	T right,
	Matrix<bool> result
)

Parameters

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

Return Value

Matrix<Boolean>
A boolean matrix whose elements are true if the corresponding element in this matrix is greater than right, and false otherwise.

GreaterThanCore(Matrix<T>, Matrix<Boolean>)

Checks if the elements of one matrix are greater than the corresponding elements of another matrix.
C#
protected virtual Matrix<bool> GreaterThanCore(
	Matrix<T> right,
	Matrix<bool> result
)

Parameters

right  Matrix<T>
The second matrix.
result  Matrix<Boolean>
The matrix that is to hold the result. May be null.

Return Value

Matrix<Boolean>
A boolean matrix whose elements are true if the corresponding element in this matrix is greater than the corresponding element in right, and false otherwise.

Exceptions

ArgumentNullException

right is null

DimensionMismatchException This matrix and right do not have the same length.

See Also