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