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