Table of Contents

Method BitEquals

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

BitEquals<T>(Vector256<T>, Vector256<T>)

Returns a value that indicates whether this instance is binary equal to a specified vector (返回一个值,该值指示此实例是否与指定的向量二进制相等).

public static bool BitEquals<T>(this Vector256<T> vector, Vector256<T> other) where T : struct

Parameters

vector Vector256<T>

Current vector (当前的向量).

other Vector256<T>

Another vector (另一个向量).

Returns

bool

true if other has the same value as this instance; otherwise, false (当 other 相等时返回 true, 否则为 false).

Type Parameters

T

The type of the vector element (向量元素的类型).