Elementary Class
Contains methods for evaluating various elementary functions.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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. |
Acosh1Plus | Returns the inverse hyperbolic cosine of one plus 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. |
Cbrt | Returns the cube root of a number. |
Clamp | Clips a number so that it is within the specified interval. |
Clip |
Clips a number so that it is within the specified interval.
Obsolete. |
Cos | Returns the cosine of an angle using accurate argument reduction. |
Cosh | Returns the hyperbolic cosine of a real number. |
Cosh | Returns the hyperbolic cosine of a real number minus one. |
Cos | Returns the cosine of an angle, minus 1, accurately for angles close to a multiple of π. |
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. |
Gudermannian | Evaluates the Gudermannian function gd(x). |
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( | Returns the largest value in a span using IEEE-754r semantics. |
Max( | Returns the largest value in a span 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( | Returns the smallest value in a span using IEEE-754r semantics. |
Min( | Returns the smallest value in a span 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. |
Pow<T>(T, Int32) | 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. |
Root | Returns the n-th root of a number. |
Scale | Multiplies a number by a power of two. |
Scale | Multiplies a number by a power of two. |
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. |
Sin | Returns the sine and cosine of an angle expressed in multiples of π. |
Sinh | Returns the hyperbolic sine of a real number. |
Sinh | Returns a tuple of the hyperbolic sine and cosine of a real number. |
Sin | Returns the sine of an angle expressed in multiples of π. |
Smooth | Returns the Smoothstep function. |
Smooth | Returns the Smoothstep function. |
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 π. |