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