Table of Contents

Method Equals

Namespace
Zyl.ExSpans.Impl
Assembly
ExSpans.dll

Equals<T>(Vector256<T>, Vector256<T>)

Compares two vectors to determine if they are equal on a per-element basis.

public static Vector256<T> Equals<T>(Vector256<T> left, Vector256<T> right)

Parameters

left Vector256<T>

The vector to compare with right.

right Vector256<T>

The vector to compare with left.

Returns

Vector256<T>

A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in left and right were equal.

Type Parameters

T

Exceptions

NotSupportedException

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