Math<T> Class
Contains methods for evaluating various elementary functions.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public static class Math<T>
- Inheritance
- Object → Math<T>
Type Parameters
- T
Remarks
The methods in the Math<T> class is the generic equivalent of the standard Math class. In addition, it implements a number of elementary functions that are not available in Math. In particular, it supports more trigonometric and hyperbolic functions and their inverses, as well as some methods that are more accurate for specific values.
Methods
Abs | Returns the absolute value of a specified number. |
Acos | Returns the angle whose cosine is the specified number. |
Acosh | Returns the inverse hyperbolic cosine of a real number. |
Acoth | Returns the inverse hyperbolic cotangent of a real number. |
Acsch | Returns the inverse hyperbolic cosecant of a real number. |
Asech | Returns the inverse hyperbolic secant of a real number. |
Asin | Returns the angle whose cosine is the specified number. |
Asinh | Returns the inverse hyperbolic sine of a real number. |
Atan | Returns the angle whose tangent is the specified number. |
Atan2 | Returns the angle whose cosine is the specified number. |
Atanh | Returns the inverse hyperbolic tangent of a real number. |
Ceiling | Returns the smallest integer greater than or equal to the specified number. |
Clip | Clips a number so that it is within the specified interval. |
Cos | Returns the cosine of the specified angle. |
Cosh | Returns the hyperbolic cosine of the specified angle. |
Coth | Returns the hyperbolic cotangent of a real number. |
Csch | Returns the hyperbolic cosecant of a real number. |
Exp | Returns E raised to the specified power. |
Floor | Returns the largest integer less than or equal to the specified number. |
Greatest | Returns the greatest common divisor of two numbers. |
Hypot | Gets the length of the hypotenuse of a right-angled triangle with sides of specified length. |
Log( | Returns the natural logarithm of the specified number. |
Log( | Returns the natural logarithm of the specified number. |
Log10 | Returns the base 10 logarithm of the specified number. |
Log1Plus | Returns the logarithm of 1 plus the argument. |
Max( | Returns the larger of two numbers. |
Max( | Returns the largest of three numbers. |
Min( | Returns the smaller of two numbers. |
Min( | Returns the smallest of three numbers. |
Pow( | Returns a number raised to the specified power. |
Pow( | Raises a value to the specified power.. |
Sech | Returns the hyperbolic secant of a real number. |
Sign | Returns the sign of the specified number. |
Sin | Returns the sine of the specified angle. |
Sinc | Evaluates the normalized sinc function. |
Sinh | Returns the hyperbolic sine of the specified angle. |
Sinh | Returns the hyperbolic sine and cosine of the specified angle. |
Sqrt | Returns the square root of the specified number. |
Tan | Returns the tangent of the specified angle. |
Tanh | Returns the hyperbolic tangent of the specified angle. |