Vector512.LessThanAny<T>(Vector512<T>, Vector512<T>) Method

Definition

Compares two vectors to determine if any elements are less.

C#
public static bool LessThanAny<T>(System.Runtime.Intrinsics.Vector512<T> left, System.Runtime.Intrinsics.Vector512<T> right);

Type Parameters

T

The type of the elements in the vector.

Parameters

left
Vector512<T>

The vector to compare with right.

right
Vector512<T>

The vector to compare with left.

Returns

true if any elements in left was less than the corresponding element in right.

Exceptions

The type of left and right (T) is not supported.

Applies to

Product Versions
.NET 8, 9, 10