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

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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