Vector<T>.GreaterThanOrEqualToCore Method

Definition

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

Overload List

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

GreaterThanOrEqualToCore(T, Vector<Boolean>)

Checks if the elements of one vector are greater than or equal to a constant.
C#
protected virtual Vector<bool> GreaterThanOrEqualToCore(
	T right,
	Vector<bool>? result
)

Parameters

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

Return Value

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

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

Checks if the elements of one vector are greater than or equal to the corresponding elements of another vector.
C#
protected virtual Vector<bool> GreaterThanOrEqualToCore(
	Vector<T> right,
	Vector<bool>? result
)

Parameters

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

Return Value

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

Exceptions

ArgumentNullException

right is null.

DimensionMismatchException

This vector and right do not have the same length.

See Also