Vector.LessThanOrEqualToInto Method

Definition

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

Overload List

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

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

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

Parameters

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

Type Parameters

T

Return Value

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

Exceptions

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

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

Parameters

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

Type Parameters

T

Return Value

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

Exceptions

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

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

Parameters

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

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

ArgumentNullExceptionleft is null

-or-

right is null

DimensionMismatchExceptionleft and right do not have the same length.

See Also