Method Abs
- Namespace
- Zyl.Vector
Traits .Impl.AVector128
- Assembly
- VectorTraits.dll
Abs(Vector128<double>)
Computes the absolute value of each element in a vector (计算向量中每个元素的绝对值).
Mnemonic: rt[i] := abs(vector[i])
.
Parameters
Returns
- Vector128<double>
A vector whose elements are the absolute value of the elements in
vector
(一个向量,其元素是vector
中各元素的绝对值).
- See Also
Abs(Vector128<long>)
Computes the absolute value of each element in a vector (计算向量中每个元素的绝对值).
Mnemonic: rt[i] := abs(vector[i])
.
Parameters
Returns
- Vector128<long>
A vector whose elements are the absolute value of the elements in
vector
(一个向量,其元素是vector
中各元素的绝对值).
- See Also