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