Code Packages  1
Add-on code processing modules
Static Public Member Functions | List of all members
dsp.MathE Class Reference

Math extended static class provides an extension of the standard Math class. More...

Static Public Member Functions

static double Acosh (double x)
 Calculate the inverse hyperbolic cosine More...
 
static double Asinh (double x)
 Calculate the inverse hyperbolic sine More...
 
static double Atanh (double x)
 Calculate the inverse hyperbolic tangent More...
 
static double DegToRad (double angle)
 Convert degrees into radians More...
 
static int Factorial (int x)
 Returns the factorial of a non-negative integer More...
 
static double RadToDeg (double angle)
 Converts radians into degrees More...
 

Detailed Description

Math extended static class provides an extension of the standard Math class.

Member Function Documentation

◆ Acosh()

static double dsp.MathE.Acosh ( double  x)
static

Calculate the inverse hyperbolic cosine

The domain is the closed interval [1, +∞ )

Parameters
xvalue
Returns
$\displaystyle \cosh^{-1}(x)=\ln\left(x+\sqrt{x^{2}-1}\right)$

◆ Asinh()

static double dsp.MathE.Asinh ( double  x)
static

Calculate the inverse hyperbolic sine

The domain is the whole real line

Parameters
xvalue
Returns
$\displaystyle \sinh^{-1}(x)=\ln\left(x+\sqrt{x^{2}+1}\right)$

◆ Atanh()

static double dsp.MathE.Atanh ( double  x)
static

Calculate the inverse hyperbolic tangent

The domain is the open interval (−1, 1)

Parameters
xvalue
Returns
$\displaystyle \tanh^{-1}(x)=\frac{1}{2}\ln\left(\frac{1+x}{1-x}\right)$

◆ DegToRad()

static double dsp.MathE.DegToRad ( double  angle)
static

Convert degrees into radians

Parameters
angleangle in degrees
Returns
$\displaystyle a \frac{\pi}{180}$

◆ Factorial()

static int dsp.MathE.Factorial ( int  x)
static

Returns the factorial of a non-negative integer

Parameters
xvalue
Returns
$\displaystyle n!=\prod\limits_{k=1}^{n}k$

◆ RadToDeg()

static double dsp.MathE.RadToDeg ( double  angle)
static

Converts radians into degrees

Parameters
angleangle in radians
Returns
$\displaystyle a \frac{180}{\pi}$