Method Negate
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
Negate(Vector256<float>)
Computes the negate of a vector (计算向量的相反数).
Mnemonic: rt[i] := -vector[i]
.
Vector256<float> Negate(Vector256<float> vector)
Parameters
Returns
- Vector256<float>
A vector whose elements are the negate of the elements in
vector
(一个向量,其元素是vector
中各元素的相反数).
- See Also
Negate(Vector256<double>)
Computes the negate of a vector (计算向量的相反数).
Mnemonic: rt[i] := -vector[i]
.
Vector256<double> Negate(Vector256<double> vector)
Parameters
Returns
- Vector256<double>
A vector whose elements are the negate of the elements in
vector
(一个向量,其元素是vector
中各元素的相反数).
- See Also
Negate(Vector256<sbyte>)
Computes the negate of a vector (计算向量的相反数).
Mnemonic: rt[i] := -vector[i]
.
Vector256<sbyte> Negate(Vector256<sbyte> vector)
Parameters
Returns
- Vector256<sbyte>
A vector whose elements are the negate of the elements in
vector
(一个向量,其元素是vector
中各元素的相反数).
- See Also
Negate(Vector256<short>)
Computes the negate of a vector (计算向量的相反数).
Mnemonic: rt[i] := -vector[i]
.
Vector256<short> Negate(Vector256<short> vector)
Parameters
Returns
- Vector256<short>
A vector whose elements are the negate of the elements in
vector
(一个向量,其元素是vector
中各元素的相反数).
- See Also
Negate(Vector256<int>)
Computes the negate of a vector (计算向量的相反数).
Mnemonic: rt[i] := -vector[i]
.
Vector256<int> Negate(Vector256<int> vector)
Parameters
Returns
- Vector256<int>
A vector whose elements are the negate of the elements in
vector
(一个向量,其元素是vector
中各元素的相反数).
- See Also
Negate(Vector256<long>)
Computes the negate of a vector (计算向量的相反数).
Mnemonic: rt[i] := -vector[i]
.
Vector256<long> Negate(Vector256<long> vector)
Parameters
Returns
- Vector256<long>
A vector whose elements are the negate of the elements in
vector
(一个向量,其元素是vector
中各元素的相反数).
- See Also