Table of Contents

Method EqualsAny

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

EqualsAny(Vector128<float>, Vector128<float>)

Compares two vectors to determine if any elements are equal (比较两个向量以判定任一元素是否相等). Mnemonic: rt := (left[0] == right[0]) || (left[1] == right[1]) || ... || (left[Count-1] == right[Count-1]).

bool EqualsAny(Vector128<float> left, Vector128<float> right)

Parameters

left Vector128<float>

The vector to compare with right (将会与right进行比较的向量).

right Vector128<float>

The vector to compare with left (将会与left进行比较的向量).

Returns

bool

Return true if any elements in left were equal to the corresponding element in right (当leftright的任一对应元素相等时返回true).

See Also

EqualsAny(Vector128<double>, Vector128<double>)

Compares two vectors to determine if any elements are equal (比较两个向量以判定任一元素是否相等). Mnemonic: rt := (left[0] == right[0]) || (left[1] == right[1]) || ... || (left[Count-1] == right[Count-1]).

bool EqualsAny(Vector128<double> left, Vector128<double> right)

Parameters

left Vector128<double>

The vector to compare with right (将会与right进行比较的向量).

right Vector128<double>

The vector to compare with left (将会与left进行比较的向量).

Returns

bool

Return true if any elements in left were equal to the corresponding element in right (当leftright的任一对应元素相等时返回true).

See Also

EqualsAny(Vector128<sbyte>, Vector128<sbyte>)

Compares two vectors to determine if any elements are equal (比较两个向量以判定任一元素是否相等). Mnemonic: rt := (left[0] == right[0]) || (left[1] == right[1]) || ... || (left[Count-1] == right[Count-1]).

bool EqualsAny(Vector128<sbyte> left, Vector128<sbyte> right)

Parameters

left Vector128<sbyte>

The vector to compare with right (将会与right进行比较的向量).

right Vector128<sbyte>

The vector to compare with left (将会与left进行比较的向量).

Returns

bool

Return true if any elements in left were equal to the corresponding element in right (当leftright的任一对应元素相等时返回true).

See Also

EqualsAny(Vector128<byte>, Vector128<byte>)

Compares two vectors to determine if any elements are equal (比较两个向量以判定任一元素是否相等). Mnemonic: rt := (left[0] == right[0]) || (left[1] == right[1]) || ... || (left[Count-1] == right[Count-1]).

bool EqualsAny(Vector128<byte> left, Vector128<byte> right)

Parameters

left Vector128<byte>

The vector to compare with right (将会与right进行比较的向量).

right Vector128<byte>

The vector to compare with left (将会与left进行比较的向量).

Returns

bool

Return true if any elements in left were equal to the corresponding element in right (当leftright的任一对应元素相等时返回true).

See Also

EqualsAny(Vector128<short>, Vector128<short>)

Compares two vectors to determine if any elements are equal (比较两个向量以判定任一元素是否相等). Mnemonic: rt := (left[0] == right[0]) || (left[1] == right[1]) || ... || (left[Count-1] == right[Count-1]).

bool EqualsAny(Vector128<short> left, Vector128<short> right)

Parameters

left Vector128<short>

The vector to compare with right (将会与right进行比较的向量).

right Vector128<short>

The vector to compare with left (将会与left进行比较的向量).

Returns

bool

Return true if any elements in left were equal to the corresponding element in right (当leftright的任一对应元素相等时返回true).

See Also

EqualsAny(Vector128<ushort>, Vector128<ushort>)

Compares two vectors to determine if any elements are equal (比较两个向量以判定任一元素是否相等). Mnemonic: rt := (left[0] == right[0]) || (left[1] == right[1]) || ... || (left[Count-1] == right[Count-1]).

bool EqualsAny(Vector128<ushort> left, Vector128<ushort> right)

Parameters

left Vector128<ushort>

The vector to compare with right (将会与right进行比较的向量).

right Vector128<ushort>

The vector to compare with left (将会与left进行比较的向量).

Returns

bool

Return true if any elements in left were equal to the corresponding element in right (当leftright的任一对应元素相等时返回true).

See Also

EqualsAny(Vector128<int>, Vector128<int>)

Compares two vectors to determine if any elements are equal (比较两个向量以判定任一元素是否相等). Mnemonic: rt := (left[0] == right[0]) || (left[1] == right[1]) || ... || (left[Count-1] == right[Count-1]).

bool EqualsAny(Vector128<int> left, Vector128<int> right)

Parameters

left Vector128<int>

The vector to compare with right (将会与right进行比较的向量).

right Vector128<int>

The vector to compare with left (将会与left进行比较的向量).

Returns

bool

Return true if any elements in left were equal to the corresponding element in right (当leftright的任一对应元素相等时返回true).

See Also

EqualsAny(Vector128<uint>, Vector128<uint>)

Compares two vectors to determine if any elements are equal (比较两个向量以判定任一元素是否相等). Mnemonic: rt := (left[0] == right[0]) || (left[1] == right[1]) || ... || (left[Count-1] == right[Count-1]).

bool EqualsAny(Vector128<uint> left, Vector128<uint> right)

Parameters

left Vector128<uint>

The vector to compare with right (将会与right进行比较的向量).

right Vector128<uint>

The vector to compare with left (将会与left进行比较的向量).

Returns

bool

Return true if any elements in left were equal to the corresponding element in right (当leftright的任一对应元素相等时返回true).

See Also

EqualsAny(Vector128<long>, Vector128<long>)

Compares two vectors to determine if any elements are equal (比较两个向量以判定任一元素是否相等). Mnemonic: rt := (left[0] == right[0]) || (left[1] == right[1]) || ... || (left[Count-1] == right[Count-1]).

bool EqualsAny(Vector128<long> left, Vector128<long> right)

Parameters

left Vector128<long>

The vector to compare with right (将会与right进行比较的向量).

right Vector128<long>

The vector to compare with left (将会与left进行比较的向量).

Returns

bool

Return true if any elements in left were equal to the corresponding element in right (当leftright的任一对应元素相等时返回true).

See Also

EqualsAny(Vector128<ulong>, Vector128<ulong>)

Compares two vectors to determine if any elements are equal (比较两个向量以判定任一元素是否相等). Mnemonic: rt := (left[0] == right[0]) || (left[1] == right[1]) || ... || (left[Count-1] == right[Count-1]).

bool EqualsAny(Vector128<ulong> left, Vector128<ulong> right)

Parameters

left Vector128<ulong>

The vector to compare with right (将会与right进行比较的向量).

right Vector128<ulong>

The vector to compare with left (将会与left进行比较的向量).

Returns

bool

Return true if any elements in left were equal to the corresponding element in right (当leftright的任一对应元素相等时返回true).

See Also