Method Sqrt
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
Sqrt(Vector256<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.
Vector256<float> Sqrt(Vector256<float> vector)
Parameters
Returns
- Vector256<float>
A vector whose elements are the square root of the corresponding elements in
vector
(一个向量,其元素是vector
中对应元素的平方根).
- See Also
Sqrt(Vector256<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.
Vector256<double> Sqrt(Vector256<double> vector)
Parameters
Returns
- Vector256<double>
A vector whose elements are the square root of the corresponding elements in
vector
(一个向量,其元素是vector
中对应元素的平方根).
- See Also
Sqrt(Vector256<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.
Vector256<sbyte> Sqrt(Vector256<sbyte> vector)
Parameters
Returns
- Vector256<sbyte>
A vector whose elements are the square root of the corresponding elements in
vector
(一个向量,其元素是vector
中对应元素的平方根).
- See Also
Sqrt(Vector256<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.
Vector256<byte> Sqrt(Vector256<byte> vector)
Parameters
Returns
- Vector256<byte>
A vector whose elements are the square root of the corresponding elements in
vector
(一个向量,其元素是vector
中对应元素的平方根).
- See Also
Sqrt(Vector256<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.
Vector256<short> Sqrt(Vector256<short> vector)
Parameters
Returns
- Vector256<short>
A vector whose elements are the square root of the corresponding elements in
vector
(一个向量,其元素是vector
中对应元素的平方根).
- See Also
Sqrt(Vector256<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.
Vector256<ushort> Sqrt(Vector256<ushort> vector)
Parameters
Returns
- Vector256<ushort>
A vector whose elements are the square root of the corresponding elements in
vector
(一个向量,其元素是vector
中对应元素的平方根).
- See Also
Sqrt(Vector256<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.
Vector256<int> Sqrt(Vector256<int> vector)
Parameters
Returns
- Vector256<int>
A vector whose elements are the square root of the corresponding elements in
vector
(一个向量,其元素是vector
中对应元素的平方根).
- See Also
Sqrt(Vector256<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.
Vector256<uint> Sqrt(Vector256<uint> vector)
Parameters
Returns
- Vector256<uint>
A vector whose elements are the square root of the corresponding elements in
vector
(一个向量,其元素是vector
中对应元素的平方根).
- See Also
Sqrt(Vector256<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.
Vector256<long> Sqrt(Vector256<long> vector)
Parameters
Returns
- Vector256<long>
A vector whose elements are the square root of the corresponding elements in
vector
(一个向量,其元素是vector
中对应元素的平方根).
- See Also
Sqrt(Vector256<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.
Vector256<ulong> Sqrt(Vector256<ulong> vector)
Parameters
Returns
- Vector256<ulong>
A vector whose elements are the square root of the corresponding elements in
vector
(一个向量,其元素是vector
中对应元素的平方根).
- See Also