Matrix.GreaterThanOrEqualTo Method

Definition

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

Overload List

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

GreaterThanOrEqualTo<T>(Matrix<T>, T)

Checks if the elements of one matrix are greater than or equal to a constant.
C#
public static Matrix<bool> GreaterThanOrEqualTo<T>(
	Matrix<T> left,
	T right
)

Parameters

left  Matrix<T>
A matrix.
right  T
A constant.

Type Parameters

T

Return Value

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

Exceptions

GreaterThanOrEqualTo<T>(Matrix<T>, Matrix<T>)

Checks if the elements of one matrix are greater than or equal to the corresponding elements of another matrix.
C#
public static Matrix<bool> GreaterThanOrEqualTo<T>(
	Matrix<T> left,
	Matrix<T> right
)

Parameters

left  Matrix<T>
The first matrix.
right  Matrix<T>
The second matrix.

Type Parameters

T

Return Value

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

Exceptions

ArgumentNullException

left is null.

-or-

right is null.

DimensionMismatchException

left and right do not have the same length.

GreaterThanOrEqualTo<T>(T, Matrix<T>)

Checks if the elements of one matrix are greater than or equal to a constant.
C#
public static Matrix<bool> GreaterThanOrEqualTo<T>(
	T left,
	Matrix<T> right
)

Parameters

left  T
A constant.
right  Matrix<T>
A matrix.

Type Parameters

T

Return Value

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

Exceptions

ArgumentNullException

right is null.

See Also