Vector256<T>.Equality(Vector256<T>, Vector256<T>) Operator

Definition

Compares two vectors to determine if all elements are equal.

C#
public static bool operator ==(System.Runtime.Intrinsics.Vector256<T> left, System.Runtime.Intrinsics.Vector256<T> right);

Parameters

left
Vector256<T>

The vector to compare with right.

right
Vector256<T>

The vector to compare with left.

Returns

true if all elements in left were equal to the corresponding element in right.

Exceptions

The type of the vector (T) is not supported.

Applies to

Product Versions
.NET 7, 8, 9, 10