Method EqualsAll
- Namespace
- Zyl.VectorTraits.Impl.AVector128
- Assembly
- VectorTraits.dll
EqualsAll(Vector128<double>, Vector128<double>)
Compares two vectors to determine if all elements are equal (比较两个向量以判定所有元素是否相等).
Mnemonic: rt := (left[0] == right[0]) && (left[1] == right[1]) && ... && (left[Count-1] == right[Count-1]).
public static bool EqualsAll(Vector128<double> left, Vector128<double> right)
Parameters
leftVector128<double>The vector to compare with
right(将会与right进行比较的向量).rightVector128<double>The vector to compare with
left(将会与left进行比较的向量).
Returns
- bool
Return
trueif all elements inleftwere equal to the corresponding element inright(当left和right的全部对应元素相等时返回true).
- See Also
EqualsAll(Vector128<long>, Vector128<long>)
Compares two vectors to determine if all elements are equal (比较两个向量以判定所有元素是否相等).
Mnemonic: rt := (left[0] == right[0]) && (left[1] == right[1]) && ... && (left[Count-1] == right[Count-1]).
public static bool EqualsAll(Vector128<long> left, Vector128<long> right)
Parameters
leftVector128<long>The vector to compare with
right(将会与right进行比较的向量).rightVector128<long>The vector to compare with
left(将会与left进行比较的向量).
Returns
- bool
Return
trueif all elements inleftwere equal to the corresponding element inright(当left和right的全部对应元素相等时返回true).
- See Also
EqualsAll(Vector128<ulong>, Vector128<ulong>)
Compares two vectors to determine if all elements are equal (比较两个向量以判定所有元素是否相等).
Mnemonic: rt := (left[0] == right[0]) && (left[1] == right[1]) && ... && (left[Count-1] == right[Count-1]).
[CLSCompliant(false)]
public static bool EqualsAll(Vector128<ulong> left, Vector128<ulong> right)
Parameters
leftVector128<ulong>The vector to compare with
right(将会与right进行比较的向量).rightVector128<ulong>The vector to compare with
left(将会与left进行比较的向量).
Returns
- bool
Return
trueif all elements inleftwere equal to the corresponding element inright(当left和right的全部对应元素相等时返回true).
- See Also