Provides methods for real numbers, that were forgotten by the
Math class.
Inheritance Hierarchy Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntaxpublic static class RMath
The RMath type exposes the following members.
Methods | Name | Description |
---|
  | Acosh | |
  | AreIntervalsOverlappingCC |
Tests if the interval [a0, a1] is overlapping with the interval [b0, b1]. The return value is true if
the intervals overlap, or only touching each other (for instance, if a1==b0).
|
  | AreIntervalsOverlappingCO |
Tests if the interval [a0, a1) is overlapping with the interval [b0, b1). The return value is true if
the intervals overlap. Because the end of the intervals are open, the return value is false if for instance a1==b0.
|
  | Asinh | |
  | Atanh | |
 | ClampToInterval |
Clamps the value x to the interval [xmin, xmax]. If Double.NaN is provided, the return value is Double.NaN.
|
  | EvaluatePolynomOrderAscending |
Evaluates the polynom. The polynomial coefficients are given in ascending order.
|
  | EvaluatePolynomOrderDescending |
Evaluates the polynom. The polynomial coefficients are given in ascending order.
|
  | Hypot |
The standard hypot() function for two arguments taking care of overflows and zerodivides.
|
 | InFractionOfUnorderedIntervalCC |
If x is inside the interval [leftValue, rightValue] or [rightValue, leftValue], then this function returns a value in the range [0,1]
designating the (linear) position inside that interval. I.e. if rightValue > leftValue, the return value would be (x-leftValue)/(rightValue-leftValue).
|
  | InterpolateLinear(Double, Double, Double) |
Interpolates linearly between leftValue and rightValue, using the parameter fraction.
|
  | InterpolateLinear(Double, Double, Boolean) |
Interpolates values of an array.
|
  | IsFinite(Double) |
Tests if x is finite, i.e. is in the interval [double.MinValue, double.MaxValue].
|
 | IsFinite(Single) |
Tests if x is finite, i.e. is in the interval [float.MinValue, float.MaxValue].
|
 | IsInIntervalCC |
Tests whether or not x is in the closed interval [xmin, xmax]. No test is done if xmin is less than xmax.
|
 | IsInIntervalCO |
Tests whether or not x is in the semi-open interval [xmin, xmax). No test is done if xmin is less than xmax.
|
 | IsInIntervalOC |
Tests whether or not x is in the semi-open interval (xmin, xmax]. No test is done if xmin is less than xmax.
|
 | IsInIntervalOO |
Tests whether or not x is in the open interval (xmin, xmax). No test is done if xmin is less than xmax.
|
 | IsNaN(Double) |
Test if x is not a number.
|
 | IsNaN(Single) |
Test if x is not a number.
|
  | Log1p | |
  | OneMinusExp |
Calculates 1-Exp(x) with better accuracy around x=0.
|
 | Pow(Double, Int32) |
Calculates x^n by repeated multiplications. The algorithm takes ld(n) multiplications.
This algorithm can also be used with negative n.
|
 | Pow(Double, Int64) |
Calculates x^n by repeated multiplications. The algorithm takes ld(n) multiplications.
This algorithm can also be used with negative n.
|
 | Pow2 |
Calculates x^2 (square of x).
|
 | Pow3 | |
 | Pow4 | |
 | Pow5 | |
 | Pow6 | |
 | Pow7 | |
 | Pow8 | |
 | Pow9 | |
  | ScaleDecadic |
Calculates x * 10^n.
|
Top
See Also