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

Definition

Compares two vectors to determine if any elements are equal.

C#
public static bool EqualsAny<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 equal to the corresponding element in right.

Exceptions

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

Applies to

Product Versions
.NET 8, 9