Elementary Class
Contains methods for evaluating various elementary functions.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static class Elementary
- Inheritance
- Object → Elementary
Remarks
The methods in the Elementary class implement a number of elementary functions that are not available in the standard Math class. 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
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. |
Asinh | Returns the inverse hyperbolic sine of a real number. |
Atanh | Returns the inverse hyperbolic tangent of a real number. |
Clip | Clips a number so that it is within the specified interval. |
Cos | Returns the cosine of an angle using accurate argument reduction. |
Cosh | Returns the hyperbolic cosine of a real number. |
Cos | Returns the cosine of an angle expressed in multiples of π. |
Coth | Returns the hyperbolic cotangent of a real number. |
Csch | Returns the hyperbolic cosecant of a real number. |
Exp | Returns the exponential function minus 1. |
Get | Returns a lambda expression that represents the derivative of a method with respect to the specified argument. |
Hypot | Gets the length of the hypotenuse of a right-angled triangle with sides of specified length. |
IsFinite( | Returns whether the specified double-precision floating-point number is finite. |
IsFinite( | Returns whether the specified float-precision floating-point number is finite. |
IsInfinite( | Returns whether the specified double-precision floating-point number equals positive or negative infinity. |
IsInfinite( | Returns whether the specified float-precision floating-point number equals positive or negative infinity. |
IsNa | Returns whether the specified double-precision floating-point number is a Not-A-Number (NaN) value. |
IsNa | Returns whether the specified float-precision floating-point number is a Not-A-Number (NaN) value. |
Lambert | Returns the Lambert W function. |
Log1Plus | Returns the logarithm of 1 plus the argument. |
Logistic | Returns the logistic function. |
Log | Returns the logarithm of the logistic function. |
Log | Computes the logarithm of the sum of exponentials. |
Max(Double[]) | Returns the largest value in an array using IEEE-754r semantics. |
Max(Single[]) | Returns the largest value in an array using IEEE-754r semantics. |
Max( | Returns the largest of two numbers using IEEE-754r semantics. |
Max( | Returns the largest of two numbers using IEEE-754r semantics. |
Max( | Returns the largest of three numbers using IEEE-754r semantics. |
Max( | Returns the largest of three numbers using IEEE-754r semantics. |
Min(Double[]) | Returns the smallest value in an array using IEEE-754r semantics. |
Min(Single[]) | Returns the smallest value in an array using IEEE-754r semantics. |
Min( | Returns the smallest of two numbers using IEEE-754r semantics. |
Min( | Returns the smallest of two numbers using IEEE-754r semantics. |
Min( | Returns the smallest of three numbers using IEEE-754r semantics. |
Min( | Returns the smallest of three numbers using IEEE-754r semantics. |
Pow( | Returns a number raised to an integer power. |
Pow( | Returns a number raised to an integer power. |
Powers( | Returns a sequence of powers of a real number. |
Powers( | Returns a sequence of powers of a real number. |
Sech | Returns the hyperbolic secant of a real number. |
Sin | Returns the sine of an angle using accurate argument reduction. |
Sinc | Evaluates the normalized sinc function. |
Sin | Returns the cosine of an angle using accurate argument reduction. |
Sinh | Returns the hyperbolic sine of a real number. |
Sin | Returns the sine of an angle expressed in multiples of π. |
Soft | Reduces the magnitude of a number towards zero. |
Sqrt1pxm1 | Returns the difference between the square root of a number close to 1, and 1. |
Step( | Returns the Heaviside step function. |
Step( | Returns the Heaviside step function. |
Tan | Returns the tangent of an angle using accurate argument reduction. |
Tanh | Returns the hyperbolic tangent of a real number. |
Tan | Returns the tangent of an angle expressed in multiples of π. |