Class MathIRootFunctions
- Namespace
- Zyl.VectorTraits.Numerics
- Assembly
- VectorTraits.dll
Math functions of IRootFunctions<TSelf> (IRootFunctions 的数学函数).
public static class MathIRootFunctions- Inheritance
- 
      
      MathIRootFunctions
- Inherited Members
Remarks
Referenced from generic math (参考了泛型数学): https://learn.microsoft.com/en-us/dotnet/standard/generics/math
Methods
- Sqrt(byte)
- Computes the square-root of a value (计算值的平方根). Mnemonic: - Sqrt(x) = Pow(x, 1.0/2). When x is less than 0, floating-point types return NaN, integer types return 0.
- Sqrt(double)
- Computes the square-root of a value (计算值的平方根). Mnemonic: - Sqrt(x) = Pow(x, 1.0/2). When x is less than 0, floating-point types return NaN, integer types return 0.
- Sqrt(short)
- Computes the square-root of a value (计算值的平方根). Mnemonic: - Sqrt(x) = Pow(x, 1.0/2). When x is less than 0, floating-point types return NaN, integer types return 0.
- Sqrt(int)
- Computes the square-root of a value (计算值的平方根). Mnemonic: - Sqrt(x) = Pow(x, 1.0/2). When x is less than 0, floating-point types return NaN, integer types return 0.
- Sqrt(long)
- Computes the square-root of a value (计算值的平方根). Mnemonic: - Sqrt(x) = Pow(x, 1.0/2). When x is less than 0, floating-point types return NaN, integer types return 0.
- Sqrt(sbyte)
- Computes the square-root of a value (计算值的平方根). Mnemonic: - Sqrt(x) = Pow(x, 1.0/2). When x is less than 0, floating-point types return NaN, integer types return 0.
- Sqrt(float)
- Computes the square-root of a value (计算值的平方根). Mnemonic: - Sqrt(x) = Pow(x, 1.0/2). When x is less than 0, floating-point types return NaN, integer types return 0.
- Sqrt(ushort)
- Computes the square-root of a value (计算值的平方根). Mnemonic: - Sqrt(x) = Pow(x, 1.0/2). When x is less than 0, floating-point types return NaN, integer types return 0.
- Sqrt(uint)
- Computes the square-root of a value (计算值的平方根). Mnemonic: - Sqrt(x) = Pow(x, 1.0/2). When x is less than 0, floating-point types return NaN, integer types return 0.
- Sqrt(ulong)
- Computes the square-root of a value (计算值的平方根). Mnemonic: - Sqrt(x) = Pow(x, 1.0/2). When x is less than 0, floating-point types return NaN, integer types return 0.