Matrix<T>.GreaterThanOrEqualToCore Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

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

GreaterThanOrEqualToCore(T, Matrix<Boolean>)

Checks if the elements of one matrix are greater than or equal to a constant.
C#
protected virtual Matrix<bool> GreaterThanOrEqualToCore(
	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.

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

Checks if the elements of one matrix are greater than or equal to the corresponding elements of another matrix.
C#
protected virtual Matrix<bool> GreaterThanOrEqualToCore(
	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 or equal to 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