Math387 Namespace

Headers: Dew.Math/Math387.h, Dew.Math/Units.Math387.h, Dew.Runtime/DewRuntime.h · Cross-compiler

namespace Dew::Math::Units::Math387

Functions

NameDescription
Abs (3)
AbsfAbsolute value in single precision.
AllignMem
AllignMemOffset (2)
AllignMemp
ArcCos (3)Inverse cosine.
ArcCosf
ArcCosh (3)Inverse hyperbolic cosine.
ArcCoshf
ArcCot (3)Inverse cotangent.
ArcCotf
ArcCoth (3)Inverse hyperbolic cotangent.
ArcCothf
ArcCsc (3)Inverse cosecant.
ArcCscf
ArcCsch (3)Inverse hyperbolic cosecant.
ArcCschf
ArcSec (3)Inverse secant.
ArcSecf
ArcSech (3)Inverse hyperbolic secant.
ArcSechf
ArcSin (3)Inverse sine.
ArcSinf
ArcSinh (3)Inverse hyperbolic sine.
ArcSinhf
ArcTan (3)Inverse tangens of X.
ArcTan2Inverse tangens of Y/X.
ArcTan2f
ArcTanfInverse tangens.
ArcTanh (3)Inverse hyperbolic tangens.
ArcTanhf
Arg (2)The argument of Z.
BesselI0 (2)Modified bessel function of the first kind.
BesselJ0 (2)Bessel function of the first kind.
BesselMFirstChebChebyshev/Clenshaw recurrence initialiser, shared by the Bessel computations in Ippspl_core/_single.
BesselMNextChebChebyshev/Clenshaw recurrence step; see Math387::BesselMFirstCheb.
Bigger (7)Compares two complex numbers.
Bigger2 (2)
Biggerf
BiggerOrEqual (6)Compare two complex numbers.
BytesOfThe bytes of a string.
CAbs (2)The norm of z.
CAbs1 (2)Returns the approximation of the norm of Z.
CAdd (6)Complex addition.
CAddI (4)Add imaginary value BI to complex number A.
CartToPolar (2)Cartesian to polar coordinate transformation.
CDiv (6)Complex division.
Ceil (3)Round towards positive infinity.
Ceilf
CeilToIntRound towards positive infinity.
CeilToInt64Round towards positive infinity.
CeilToInt64f
CeilToIntf
CFrac (2)Complex frac function.
CheckRange (4)Check the value.
CheckRangef
CInv (4)The 1/Z.
CInvMulI (2)
ClearFPUClears pending FPU exceptions.
CMul (6)Complex multipliction.
CMulI (4)Multiply two complex numbers.
Conj (2)Conjugate complex number.
Cos (5)Cosine.
CosfCosine function.
Cosh (5)Hyperbolic cosine.
Coshf
Cot (3)Cotangent.
Cotf
Coth (3)Hyperbolic cotangent.
Cothf
Cplx (2)Converts two real numbers to complex number.
CplxDouble
CplxSingle
CplxToStr (2)Converts complex number to a string.
CRound (2)Complex round function.
Csc (3)Cosecant.
Cscf
Csch (3)Hyperbolic cosecant.
Cschf
CSqr (2)The square of complex number.
CSqrt (2)Square root of a complex number.
CSub (10)Complex subtraction.
CSubI (4)Subtract imaginary value BI from complex number A.
CSubMulI (2)
CTrunc (2)Complex truncate function.
DegToRadReturns the value of a degree measurement expressed in radians.
DegToRadf
EInvalidArgumentRaiseRaises EMtxVecInvalidArgument exception.
EInvalidArgumentRaiseFmt
EnsureRange (3)Limits the value.
EnsureRangef
Equal (10)Compares two numbers.
Equalf (2)
ERaiseRaises EMtxVecException exception.
ERaiseFmt
ERangeErrorRaiseRaises EMtxVecRangeError exception.
ERangeErrorRaiseFmt
ErfError function.
ErfcComplement to the error function Erf.
ErfcInvInverse complementary error function.
ErfInvInverse error function.
Exp (3)e^x function.
Exp10 (3)10^x function.
Exp10f
Exp2 (3)2^x function.
Exp2f
Exp2Int2^x function.
Exp2Int642^x function.
Expfe^x function.
ExpjEuler formula for complex number.
Expjf
ExtractCplxGets a complex number, extracted from string source.
ExtractCplxSingle
ExtractIntegerGets integer number, extracted from string source.
ExtractSampleGets double number, extracted from string source.
FactFactorial N!.
FixAngleFast angle reduction to [-Pi,Pi].
FixAnglef
Flip (2)Swaps real and imaginary part.
FlipConj (4)Swaps real and imaginary part and conjugates the result.
Floor (3)Round towards negative infinity.
Floorf
FloorToIntRound towards negative infinity.
FloorToInt64Round towards negative infinity.
FloorToInt64f
FloorToIntf
Format
FormatCplx (2)The complex number Z formated as a string.
FormatFloatFormats a floating point value with the format string.
FormatSample (2)The double number X formated as string.
FormatSamplef (2)
Gamma (2)Gamma function (real).
GammaFrac (2)Incomplete Gamma function : continued fraction expansion.
GammaSer (2)Incomplete Gamma function: series expansion.
GcdGreatest common divisor.
GcdInt64Greatest common divisor.
GetDecimalSeparator
GetThousandSeparator
GlobalAllocUnmanaged
GlobalFreeUnmanaged (2)
IGamma (2)Incomplete gamma function.
Imag (2)Imaginary part of complex number.
IntGetCurrentThreadID
IntInterlockedDecrement
IntInterlockedExchange
IntInterlockedIncrement
IntPower (3)Power function (integer power).
IntPowerf
IntPrecisionToStrReturns the description of the Src.
IntToDoubleConverts an integer to double.
IntToSingleInteger to single conversion.
IntToStr (2)
IsInf (3)Checks if number is INF.
IsInff
IsInfNan (3)Checks if number is INF 0r NAN.
IsInfNanf
IsNaN (3)Checks if number is NAN.
IsNanf
IsNanInf (3)Checks if number is INF or NAN.
IsNanInff
JGamma (2)Complement to the incomplete gamma function.
LargestExp2Returns first number being power of two that is equal or greater than n.
LargestLog2Power of two which gives the first number that is equal or greater than n.
LcmSmallest common multiplier.
LcmInt64Smallest common multiplier.
LimitRange (2)Limit the range X.
LimitRangef
Ln (3)Natural logarithm.
Lnfe^x function.
LnGamma (2)Natural logarithm of the gamma function.
Log10 (3)Log base 10.
Log10f
Log2 (3)Log base 2.
Log2f
Log2Int
Log2Int64Log base 2.
LogN (7)Log base N.
LogNf
Max (9)Maximum of two numbers.
Maxf
Min (9)Minimum of two numbers.
Minf
MulI (4)Multiplies complex number with I.
Neg (2)Changes the sign of Z.
NextLargestExp2Smallest power of two that is >= n, doubled once (FFT work-buffer sizing with headroom).
Norm (2)The ||Z||^2.
NormalQuantileNormal (Gaussian) quantile, the inverse of the standard normal CDF.
PolarToCart (2)Polar to cartesian coordinate transformation.
Power (7)Power function.
Powerf
Pythag (3)The Pythagora formula.
Pythagf
RadToDegConverts radians to degrees.
RadToDegf
Real (2)Real part of complex number.
Rem (3)IEEE 754 floating-point remainder (fmod).
Remf
Root (2)The root of complex number.
Round
Roundf
RoundToIntRounds double precision floating point number towards nearest integer (banker) and converts to 32bit integer.
RoundToInt64Rounds double precision floating point number towards nearest integer (banker) and converts to 64bit integer.
RoundToInt64fRounds single precision floating point number towards nearest integer (banker) and converts to 64bit integer.
RoundToIntfRounds single precision floating point number towards nearest integer (banker) and converts to 32bit integer.
SampleToStr (2)Converts TSample value to a string.
SampleToStrf (2)
Sec (3)Secant.
Secf
Sech (3)Hyperbolic secant.
Sechf
SetContains (2)
SetExclude (2)
SetFlushToZeroSets DAZ and FTZ bits in MXCSR.
SetInclude (2)
Sgn (4)Signum.
Sgnf
SgnGamma
Sign (3)Fortran sign function.
Signf
Sin (5)Sine.
SinCosSine and cosine in single pass.
SinCosf
SinfSine function.
Sinh (5)Hyperbolic sine.
SinhCoshThe hyperbolic sine and cosine.
SinhCoshf
Sinhf
Smaller (7)Compares two complex numbers.
Smaller2 (2)
Smallerf
SmallerOrEqual (6)Compare two complex numbers.
SmallestExp2Closest power of 2 to n.
Sqr (3)
SqrAbs (2)
SqrfSquare in single precision.
SqrtSquare root.
SqrtfSquare root.
StartTimer (2)Starts the microsecond timer.
StopTimer (2)Stops the timer with microsecond resolution.
StreamReadDouble
StreamReadInt16
StreamReadInt32 (2)
StreamReadInt64 (2)
StreamReadInt8
StreamReadSingle
StreamReadString
StreamReadUInt16
StreamReadUInt32 (2)
StreamReadUInt64 (2)
StreamReadUInt8
StreamWriteDouble
StreamWriteInt16
StreamWriteInt32
StreamWriteInt64
StreamWriteInt8
StreamWriteSingle
StreamWriteString
StreamWriteUInt16
StreamWriteUInt64
StreamWriteUInt8
StringOfThe string the bytes hold.
StrToCplxConverts a string to complex number.
StrToCplxSingle
StrToDoubleConverts string to a double value.
StrToFloatConverts a string to a floating point value.
StrToInt
StrToSampleConverts string to a double value.
StrToSingleConverts string to a single value.
StrToValConverts string to a value.
Swap (5)Exchange two numbers.
SwapfExchange two numbers.
Tan (3)Tangens.
Tanf
Tanh (3)Hyperbolic cosine.
Tanhf
TanhXHyperbolic tangens.
TanhXf
ToDouble
ToSingle
Trunc
TruncAndFracSplits the floating point number to integer and fractional parts.
TruncAndFracf
TruncAndFracToInt
TruncAndFracToInt64
TruncAndFracToInt64fSplits the floating point number to integer and fractional parts.
TruncAndFracToIntfSplits the floating point number to integer and fractional parts.
TruncDiv (2)
TruncDivf
Truncf
TruncToIntRounds double precision floating point number towards zero and converts to 32bit integer.
TruncToInt64Rounds double precision floating point number towards zero and converts to 64bit integer.
TruncToInt64fRounds single precision floating point number towards zero and converts to 64bit integer.
TruncToIntfRounds single precision floating point number towards zero and converts to 32bit integer.

Constants

NameTypeDescription
C_Iconst TCplxImaginary value.
C_I_SINGLEconst TSCplxImaginary value.
C_ONEconst TCplxComplex one.
C_ONE_SINGLEconst TSCplxComplex one.
C_PIconst TCplxPI.
C_PI_DIV_2const TCplxPI/2.
C_PI_DIV_2_SINGLEconst TSCplxPI/2.
C_PI_SINGLEconst TSCplxPI.
C_ZEROconst TCplxComplex zero.
C_ZERO_SINGLEconst TSCplxComplex zero.
CGOLDconst double
CGOLD_SINGLEconst float
char0const int
char1const int
char2const int
char3const int
char4const int
char5const int
char6const int
char7const int
char8const int
char9const int
charAconst int
charBconst int
charBlankconst int
charCconst int
charDconst int
charEconst int
charFconst int
charGconst int
charHconst int
charIconst int
charJconst int
charKconst int
charLconst int
charMconst int
charNconst int
charNullconst int
charOconst int
charPconst int
charQconst int
charRconst int
charSconst int
charTconst int
charUconst int
charUnderscoreconst int
charVconst int
charWconst int
charXconst int
charYconst int
charZconst int
DefaultIsDoubleconst bool
EPSconst double
EPS_SINGLEconst float
EULER_NUMBERconst double
EULER_NUMBER_SINGLEconst float
EULERGAMMAconst double
EULERGAMMA_SINGLEconst float
Fortran8087CWconst int
GOLDconst double
GOLD_SINGLEconst float
INVLN10const double
INVLN10_SINGLEconst float
INVLN2const double
INVLN2_SINGLEconst float
INVPI180const double
INVPI180_SINGLEconst float
INVSQRT2PIconst double
INVSQRT2PI_SINGLEconst float
INVTWOPIconst double
INVTWOPI_SINGLEconst float
ippnamedconst DewString
ippnamed2const DewString
ippnamesconst DewString
ippnames2const DewString
kTabconst char
LN10const double
LN10_SINGLEconst float
LN2const double
LN2_SINGLEconst float
LN2PIDIV2const double
LN2PIDIV2_SINGLEconst float
LNPIconst double
LNPI_SINGLEconst float
LNSQRT2PIconst double
LNSQRT2PI_SINGLEconst float
MACHEPconst double
MACHEP_SINGLEconst float
MAXFACconst double
MAXFAC_SINGLEconst float
MAXGAMconst double
MAXGAM_SINGLEconst float
MAXLGMconst double
MAXLGM_SINGLEconst float
MAXLOGconst double
MAXLOG_SINGLEconst float
MAXNUMconst double
MAXNUM_SINGLEconst float
MediumBlockSizeconst int
MINLOGconst double
MINLOG_SINGLEconst float
MINNUMconst double
MINNUM_SINGLEconst float
MKL_ALLconst int
MKL_BLASconst int
MKL_FFTconst int
MKL_LAPACKconst int
MKL_PARDISOconst int
MKL_VMLconst int
MtxSystemEndiannessconst TEndianness
MtxVec8087CWconst int
MtxVecCoreMsgconst DewString
MtxVecDebuggerMarkerconst int
MtxVecEOAconst int
MtxVecInfoconst DewString
MtxVecVersionconst int
mvspd2const DewString
mvsps2const DewString
nmfftconst DewString
nmkpd2const DewString
nmkps2const DewString
nmrndconst DewString
PIconst double
PI180const double
PI180_SINGLEconst float
PI_SINGLEconst float
PIDIV2const double
PIDIV2_SINGLEconst float
S_ONEconst double
S_ONE_SINGLEconst float
S_ZEROconst double
S_ZERO_SINGLEconst float
Saved8087const unsigned short
SQRT2const double
SQRT2_SINGLEconst float
SQRT2DIV2const double
SQRT2DIV2_SINGLEconst float
SQRT2PIconst double
SQRT2PI_SINGLEconst float
SQRTEPSconst double
SQRTEPS_SINGLEconst float
SQRTPIconst double
SQRTPI_SINGLEconst float
TWOPIconst double
TWOPI_SINGLEconst float
vmlnamedconst DewString
vmlnamesconst DewString

Variables

NameTypeDescription
_HasAVX2FMAbool
CINFTCplxComplex version of INF.
CINF_SINGLETSCplx
CNANTCplxComplex version of NAN.
CNAN_SINGLETSCplx
DebugValueCountint
DecimalSeparatorDewString
DefaultFloatPrecisionTMtxFloatPrecision
DefaultPrecisionTPrecision
GradStepSizedoubleGradient step size used by Richarson numeric gradient algorithm.
GradStepSizeDefaultdouble
GradStepSizeSinglefloat
GradStepSizeSingleDefaultfloat
INFdoublePositive Infinity.
INF_SINGLEfloat
MtxRegistryKeyDewString
MtxSaved8087CWunsigned short
MtxVecBlockSizeintDefines the block size.
MtxVecCopyrightDewString
MtxVecMemoryAlignmentlong long
MtxVecPrimeArrayDewArray<int>Holds an array of 1000 prime numbers.
MtxVecWorkingDirDewString
NANdoubleNot a number.
NAN_SINGLEfloat
NilPtrintPtr