Vector.GreaterThanOrEqualTo Method

Definition

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

Overload List

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

GreaterThanOrEqualTo<T>(Vector<T>, T)

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

Parameters

left  Vector<T>
A vector.
right  T
A constant.

Type Parameters

T

Return Value

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

Exceptions

GreaterThanOrEqualTo<T>(Vector<T>, Vector<T>)

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

Parameters

left  Vector<T>
The first vector.
right  Vector<T>
The second vector.

Type Parameters

T

Return Value

Vector<Boolean>
A boolean vector 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, Vector<T>)

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

Parameters

left  T
A constant.
right  Vector<T>
A vector.

Type Parameters

T

Return Value

Vector<Boolean>
A boolean vector 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