Method Sqrt
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
Sqrt(Vector128<float>)
Computes the square root of a vector on a per-element basis (计算向量中每个元素的平方根).
Mnemonic: rt[i] := sqrt(vector[i]) = pow(vector[i], 1.0/2)
. When x is less than 0, floating-point types return NaN, integer types return 0.
Vector128<float> Sqrt(Vector128<float> vector)
Parameters
Returns
- Vector128<float>
A vector whose elements are the square root of the corresponding elements in
vector
(一个向量,其元素是vector
中对应元素的平方根).
- See Also
Sqrt(Vector128<double>)
Computes the square root of a vector on a per-element basis (计算向量中每个元素的平方根).
Mnemonic: rt[i] := sqrt(vector[i]) = pow(vector[i], 1.0/2)
. When x is less than 0, floating-point types return NaN, integer types return 0.
Vector128<double> Sqrt(Vector128<double> vector)
Parameters
Returns
- Vector128<double>
A vector whose elements are the square root of the corresponding elements in
vector
(一个向量,其元素是vector
中对应元素的平方根).
- See Also
Sqrt(Vector128<sbyte>)
Computes the square root of a vector on a per-element basis (计算向量中每个元素的平方根).
Mnemonic: rt[i] := sqrt(vector[i]) = pow(vector[i], 1.0/2)
. When x is less than 0, floating-point types return NaN, integer types return 0.
Vector128<sbyte> Sqrt(Vector128<sbyte> vector)
Parameters
Returns
- Vector128<sbyte>
A vector whose elements are the square root of the corresponding elements in
vector
(一个向量,其元素是vector
中对应元素的平方根).
- See Also
Sqrt(Vector128<byte>)
Computes the square root of a vector on a per-element basis (计算向量中每个元素的平方根).
Mnemonic: rt[i] := sqrt(vector[i]) = pow(vector[i], 1.0/2)
. When x is less than 0, floating-point types return NaN, integer types return 0.
Vector128<byte> Sqrt(Vector128<byte> vector)
Parameters
Returns
- Vector128<byte>
A vector whose elements are the square root of the corresponding elements in
vector
(一个向量,其元素是vector
中对应元素的平方根).
- See Also
Sqrt(Vector128<short>)
Computes the square root of a vector on a per-element basis (计算向量中每个元素的平方根).
Mnemonic: rt[i] := sqrt(vector[i]) = pow(vector[i], 1.0/2)
. When x is less than 0, floating-point types return NaN, integer types return 0.
Vector128<short> Sqrt(Vector128<short> vector)
Parameters
Returns
- Vector128<short>
A vector whose elements are the square root of the corresponding elements in
vector
(一个向量,其元素是vector
中对应元素的平方根).
- See Also
Sqrt(Vector128<ushort>)
Computes the square root of a vector on a per-element basis (计算向量中每个元素的平方根).
Mnemonic: rt[i] := sqrt(vector[i]) = pow(vector[i], 1.0/2)
. When x is less than 0, floating-point types return NaN, integer types return 0.
Vector128<ushort> Sqrt(Vector128<ushort> vector)
Parameters
Returns
- Vector128<ushort>
A vector whose elements are the square root of the corresponding elements in
vector
(一个向量,其元素是vector
中对应元素的平方根).
- See Also
Sqrt(Vector128<int>)
Computes the square root of a vector on a per-element basis (计算向量中每个元素的平方根).
Mnemonic: rt[i] := sqrt(vector[i]) = pow(vector[i], 1.0/2)
. When x is less than 0, floating-point types return NaN, integer types return 0.
Vector128<int> Sqrt(Vector128<int> vector)
Parameters
Returns
- Vector128<int>
A vector whose elements are the square root of the corresponding elements in
vector
(一个向量,其元素是vector
中对应元素的平方根).
- See Also
Sqrt(Vector128<uint>)
Computes the square root of a vector on a per-element basis (计算向量中每个元素的平方根).
Mnemonic: rt[i] := sqrt(vector[i]) = pow(vector[i], 1.0/2)
. When x is less than 0, floating-point types return NaN, integer types return 0.
Vector128<uint> Sqrt(Vector128<uint> vector)
Parameters
Returns
- Vector128<uint>
A vector whose elements are the square root of the corresponding elements in
vector
(一个向量,其元素是vector
中对应元素的平方根).
- See Also
Sqrt(Vector128<long>)
Computes the square root of a vector on a per-element basis (计算向量中每个元素的平方根).
Mnemonic: rt[i] := sqrt(vector[i]) = pow(vector[i], 1.0/2)
. When x is less than 0, floating-point types return NaN, integer types return 0.
Vector128<long> Sqrt(Vector128<long> vector)
Parameters
Returns
- Vector128<long>
A vector whose elements are the square root of the corresponding elements in
vector
(一个向量,其元素是vector
中对应元素的平方根).
- See Also
Sqrt(Vector128<ulong>)
Computes the square root of a vector on a per-element basis (计算向量中每个元素的平方根).
Mnemonic: rt[i] := sqrt(vector[i]) = pow(vector[i], 1.0/2)
. When x is less than 0, floating-point types return NaN, integer types return 0.
Vector128<ulong> Sqrt(Vector128<ulong> vector)
Parameters
Returns
- Vector128<ulong>
A vector whose elements are the square root of the corresponding elements in
vector
(一个向量,其元素是vector
中对应元素的平方根).
- See Also