Constants Class
Contains various mathematical constants.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
public static class Constants- Inheritance
- Object → Constants
Remarks
Some real numbers return time and again in mathematical calculations. This class provides pre-calculated values for many of these numbers:
Fields
| Apery | Represents Apery's constant, equal to the zeta function evaluated at 3. |
| Catalan | Represents Catalan's constant. |
| Degree |
Represents the size of a 1 degree angle in radians.
Obsolete. |
| Degrees | Represents the size of a 1 degree angle in radians. |
| E | Represents the base for the natural logarithm, e. |
| Euler | Represents Euler's constant. |
| Eulers |
Represents Euler's constant.
Obsolete. |
| Feigenbaum | Represents Feigenbaum's constant. |
| Glaisher | Represents Glaisher's constant. |
| Golden | Represents the Golden Ratio. |
| Inv | Represents the base-10 logarithm of E. |
| Inv | Represents the base 2 logarithm of E. |
| Khinchin | Represents Khinchin's constant. |
| Log10 | Represents the natural logarithm of 10. |
| Log10E | Represents the base 10 logarithm of E. |
| Log17 | Represents the natural logarithm of 17. |
| Log2 | Represents the natural logarithm of 2. |
| Log3 | Represents the natural logarithm of 3. |
| Log5 | Represents the natural logarithm of 5. |
| Log | Represents the natural logarithm of two times Pi. |
| One | Represents the inverse of Pi. |
| One | Represents the inverse of the square root of Pi. |
| One | Represents the inverse of the square root of two times Pi. |
| Pi | Represents pi, the ratio of the circumference of a cirlce to its diameter. |
| PiOver | Represents 0.25 times Pi. |
| PiOver | Represents 0.5 times Pi. |
| PiSquared | Represents Pi squared. |
| Radians | Represents the number of degrees in 1 radians. |
| Sqrt17 | Represents the square root of 17. |
| Sqrt2 | Represents the square root of 2. |
| Sqrt3 | Represents the square root of 3. |
| Sqrt5 | Represents the square root of 5. |
| Sqrt7 | Represents the square root of 7. |
| Sqrt | Represents the square root of Pi. |
| Sqrt | Represents the square root of two times Pi. |
| Two | Represents 2 divided by Pi. |
| Two | Represents two times Pi. |