Vector512.GreaterThanAll<T> Method

Definition

Compares two vectors to determine if all elements are greater.

C#
public static bool GreaterThanAll<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 all elements in left were greater 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