public class Math387
Methods
| Name | Description |
|---|---|
| Abs (5) | |
| Absf | Absolute value in single precision. |
| aGetLength (24) | |
| AllignMem | |
| AllignMemOffset (2) | |
| AllignMemp | |
| ArcCos (3) | Inverse cosine of X. |
| 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 (6) | Inverse tangens of X. |
| ArcTan2 | Inverse tangens of Y/X. |
| ArcTan2f | |
| ArcTanf (3) | Inverse tangens. |
| ArcTanh (3) | Inverse hyperbolic tangens. |
| ArcTanhf | |
| Arg (2) | The argument of Z. |
| aSetLength (26) | |
| BesselI0 (2) | Modified bessel function of the first kind. |
| BesselJ0 (2) | Bessel function of the first kind. |
| BesselMFirstCheb | Chebyshev/Clenshaw recurrence initialiser, shared by the Bessel computations in Ippspl_core/_single. |
| BesselMNextCheb | Chebyshev/Clenshaw recurrence step; see Dew.Math.Units.Math387.BesselMFirstCheb. |
| Bigger (7) | Compares two complex numbers. |
| Bigger2 (2) | |
| Biggerf | |
| BiggerOrEqual (6) | Compare two complex numbers. |
| BytesOf | The 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 | |
| CeilToInt | Round towards positive infinity. |
| CeilToInt64 | Round towards positive infinity. |
| CeilToInt64f | |
| CeilToIntf | |
| CFrac (2) | Complex frac function. |
| CheckRange (4) | Check the value. |
| CheckRangef | |
| CInv (4) | The 1/Z. |
| CInvMulI (2) | |
| ClearFPU | Clears pending FPU exceptions. |
| CMul (6) | Complex multipliction. |
| CMulI (4) | Multiply two complex numbers. |
| Conj (2) | Conjugate complex number. |
| Cos (8) | Cosine. |
| Cosf (3) | Cosine 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. |
| DegToRad | Returns the value of a degree measurement expressed in radians. |
| DegToRadf | |
| EInvalidArgumentRaise | Raises EMtxVecInvalidArgument exception. |
| EInvalidArgumentRaiseFmt | |
| EnsureRange (3) | Limits the value. |
| EnsureRangef | |
| Equal (10) | Compares two numbers. |
| Equalf (2) | |
| ERaise | Raises EMtxVecException exception. |
| ERaiseFmt | |
| ERangeErrorRaise | Raises EMtxVecRangeError exception. |
| ERangeErrorRaiseFmt | |
| Erf | Error function. |
| Erfc | Complement to the error function Erf. |
| ErfcInv | Inverse complementary error function. |
| ErfInv | Inverse error function. |
| Exp (6) | e^x function. |
| Exp10 (3) | 10^x function. |
| Exp10f | |
| Exp2 (3) | 2^x function. |
| Exp2f | |
| Exp2Int | 2^x function. |
| Exp2Int64 | 2^x function. |
| Expf (3) | e^x function. |
| Expj | Euler formula for complex number. |
| Expjf | |
| ExtractCplx | Gets a complex number, extracted from string source. |
| ExtractCplxSingle | |
| ExtractInteger | Gets integer number, extracted from string source. |
| ExtractSample | Gets double number, extracted from string source. |
| Fact | Factorial N!. |
| FixAngle | Fast 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 | |
| FloorToInt | Round towards negative infinity. |
| FloorToInt64 | Round towards negative infinity. |
| FloorToInt64f | |
| FloorToIntf | |
| FormatCplx (2) | The complex number Z formated as a string. |
| FormatFloat | Formats a floating point value with the format string. |
| FormatSample (4) | The double number X formated as string. |
| FormatSamplef (2) | |
| FreeAndNil (2) | |
| Gamma (2) | Gamma function (complex). |
| GammaFrac (2) | Incomplete Gamma function : continued fraction expansion. |
| GammaSer (2) | Incomplete Gamma function : series expansion. |
| Gcd | Greatest common divisor. |
| GcdInt64 | Greatest 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 | |
| IntPrecisionToStr | Returns the description of the Src. |
| IntToDouble | Converts an integer to double. |
| IntToSingle | Integer to single conversion. |
| 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. |
| LargestExp2 | Returns first number being power of two that is equal or greater than n. |
| LargestLog2 | Power of two which gives the first number that is equal or greater than n. |
| Lcm | Smallest common multiplier. |
| LcmInt64 | Smallest common multiplier. |
| LimitRange (2) | Limit the range X. |
| LimitRangef | |
| Ln (6) | Natural logarithm. |
| Lnf (3) | e^x function. |
| LnGamma (2) | Natural logarithm of the gamma function. |
| Log10 (3) | Log base 10. |
| Log10f | |
| Log2 (3) | Log base 2. |
| Log2f | |
| Log2Int | |
| Log2Int64 | Log base 2. |
| LogN (7) | Log base N. |
| LogNf | |
| Max (10) | Maximum of two numbers. |
| Maxf | |
| Min (10) | Minimum of two numbers. |
| Minf | |
| MulI (4) | Multiplies complex number with I. |
| Neg (2) | Changes the sign of Z. |
| NextLargestExp2 | Smallest power of two that is >= n, doubled once (FFT work-buffer sizing with headroom). |
| Norm (2) | The ||Z||^2. |
| NormalQuantile | Normal (Gaussian) quantile, the inverse of the standard normal CDF. |
| PolarToCart (2) | Polar to cartesian coordinate transformation. |
| Power (7) | Power function. |
| Powerf | |
| Pythag (3) | Complex version of Pythagora formula. |
| Pythagf | |
| RadToDeg | Converts radians to degrees. |
| RadToDegf | |
| Real (2) | Real part of complex number. |
| Rem (3) | Complex remainder after division. |
| Remf | |
| Root (2) | The root of complex number. |
| Round (2) | |
| Roundf | |
| RoundToInt | Rounds double precision floating point number towards nearest integer (banker) and converts to 32bit integer. |
| RoundToInt64 | Rounds double precision floating point number towards nearest integer (banker) and converts to 64bit integer. |
| RoundToInt64f | Rounds single precision floating point number towards nearest integer (banker) and converts to 64bit integer. |
| RoundToIntf | Rounds 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) | |
| SetFlushToZero | Sets DAZ and FTZ bits in MXCSR. |
| SetInclude (2) | |
| SetRandSeed | Seeds the global random generator, discarding any cached engine. |
| Sgn (4) | Signum. |
| Sgnf | |
| SgnGamma | |
| Sign (4) | Changes the sign of a complex number. |
| Signf | |
| Sin (8) | Sine. |
| SinCos | Sine and cosine in single pass. |
| SinCosf | |
| Sinf (3) | Sine function. |
| Sinh (5) | Hyperbolic sine. |
| SinhCosh | The hyperbolic sine and cosine. |
| SinhCoshf | |
| Sinhf | |
| Smaller (7) | Compares two complex numbers. |
| Smaller2 (2) | |
| Smallerf | |
| SmallerOrEqual (6) | Compare two complex numbers. |
| SmallestExp2 | Closest power of 2 to n. |
| Sqr (4) | |
| SqrAbs (2) | |
| Sqrf | Square in single precision. |
| Sqrt (4) | Square root. |
| Sqrtf (3) | Square 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 | |
| StringOf | The string the bytes hold. |
| StrToCplx | Converts a string to complex number. |
| StrToCplxSingle | |
| StrToDouble | Converts string to a double value. |
| StrToFloat | Converts a string to a floating point value. |
| StrToSample | Converts string to a double value. |
| StrToSingle | Converts string to a single value. |
| StrToVal | Converts string to a value. |
| Swap (5) | Exchange two numbers. |
| Swapf | Exchange two numbers. |
| Tan (3) | Tangens. |
| Tanf | |
| Tanh (3) | Hyperbolic cosine. |
| Tanhf | |
| TanhX | Hyperbolic tangens. |
| TanhXf | |
| ToDouble | |
| ToSingle | |
| Trunc (2) | |
| TruncAndFrac | Splits the floating point number to integer and fractional parts. |
| TruncAndFracf | |
| TruncAndFracToInt | |
| TruncAndFracToInt64 | |
| TruncAndFracToInt64f | Splits the floating point number to integer and fractional parts. |
| TruncAndFracToIntf | Splits the floating point number to integer and fractional parts. |
| TruncDiv (2) | |
| TruncDivf | |
| Truncf | |
| TruncToInt | Rounds double precision floating point number towards zero and converts to 32bit integer. |
| TruncToInt64 | Rounds double precision floating point number towards zero and converts to 64bit integer. |
| TruncToInt64f | Rounds single precision floating point number towards zero and converts to 64bit integer. |
| TruncToIntf | Rounds single precision floating point number towards zero and converts to 32bit integer. |
Constants
| Name | Type | Description |
|---|---|---|
| _HasAVX2FMA | Boolean | |
| C_I | TCplx | Imaginary value. |
| C_I_SINGLE | TSCplx | Imaginary value. |
| C_ONE | TCplx | Complex one. |
| C_ONE_SINGLE | TSCplx | Complex one. |
| C_PI | TCplx | PI. |
| C_PI_DIV_2 | TCplx | PI/2. |
| C_PI_DIV_2_SINGLE | TSCplx | PI/2. |
| C_PI_SINGLE | TSCplx | PI. |
| C_ZERO | TCplx | Complex zero. |
| C_ZERO_SINGLE | TSCplx | Complex zero. |
| CGOLD | Double | 2 - GOLD. |
| CGOLD_SINGLE | Single | 2 - GOLD. |
| CINF | TCplx | Complex version of INF. |
| CINF_SINGLE | TSCplx | |
| CNAN | TCplx | Complex version of NAN. |
| CNAN_SINGLE | TSCplx | |
| DebugValueCount | Int32 | |
| DefaultFloatPrecision | TMtxFloatPrecision | |
| DefaultPrecision | TPrecision | |
| EPS | Double | Epsilon. |
| EPS_SINGLE | Single | |
| EULER_NUMBER | Double | Euler number (e). |
| EULER_NUMBER_SINGLE | Single | Euler number (e). |
| EULERGAMMA | Double | Euler constant. |
| EULERGAMMA_SINGLE | Single | Euler constant. |
| Fortran8087CW | Int32 | FPU control word used by Fortran. |
| GOLD | Double | Golden Mean. |
| GOLD_SINGLE | Single | Golden Mean. |
| GradStepSize | Double | Gradient step size used by Richarson numeric gradient algorithm. |
| GradStepSizeDefault | Double | |
| GradStepSizeSingle | Single | |
| GradStepSizeSingleDefault | Single | |
| INF | Double | Positive Infinity. |
| INF_SINGLE | Single | |
| INVLN10 | Double | 1/Ln(10). |
| INVLN10_SINGLE | Single | 1/Ln(10). |
| INVLN2 | Double | 1/Ln(2). |
| INVLN2_SINGLE | Single | 1/Ln(2). |
| INVPI180 | Double | 180/PI. |
| INVPI180_SINGLE | Single | 180/PI. |
| INVSQRT2PI | Double | 1/Sqrt(2PI). |
| INVSQRT2PI_SINGLE | Single | 1/Sqrt(2PI). |
| INVTWOPI | Double | 1/2PI. |
| INVTWOPI_SINGLE | Single | 1/2PI. |
| kTab | String | |
| LN10 | Double | Ln(10). |
| LN10_SINGLE | Single | Ln(10). |
| LN2 | Double | Ln(2). |
| LN2_SINGLE | Single | Ln(2). |
| LN2PIDIV2 | Double | Ln(2*PI)/2. |
| LN2PIDIV2_SINGLE | Single | Ln(2*PI)/2. |
| LNPI | Double | Ln(PI). |
| LNPI_SINGLE | Single | Ln(PI). |
| LNSQRT2PI | Double | Ln(Sqrt(2*PI)). |
| LNSQRT2PI_SINGLE | Single | Ln(Sqrt(2*PI)). |
| MACHEP | Double | Machine constant. |
| MACHEP_SINGLE | Single | |
| MAXFAC | Double | Maximum factorial. |
| MAXFAC_SINGLE | Single | |
| MAXGAM | Double | Maximum value of the gamma function. |
| MAXGAM_SINGLE | Single | |
| MAXLGM | Double | Maximum allowed value for the logarithm of the gamma function. |
| MAXLGM_SINGLE | Single | |
| MAXLOG | Double | Largest result of a base 10 logarithm. |
| MAXLOG_SINGLE | Single | |
| MAXNUM | Double | Maximum floating point number. |
| MAXNUM_SINGLE | Single | |
| MINLOG | Double | Smallest result of a base 10 logarithm. |
| MINLOG_SINGLE | Single | |
| MINNUM | Double | Minimum floating point number. |
| MINNUM_SINGLE | Single | |
| MtxRegistryKey | String | |
| MtxSaved8087CW | UInt16 | |
| MtxSystemEndianness | TEndianness | Storage default endianness. |
| MtxVec8087CW | Int32 | FPU control word turning off all exceptions. |
| MtxVecBlockSize | Int32 | Defines the block size. |
| MtxVecCopyright | String | |
| MtxVecEOA | Int32 | End of array constant. |
| MtxVecMemoryAlignment | Int64 | |
| MtxVecPrimeArray | Int32[] | Holds an array of 1000 prime numbers. |
| MtxVecVersion | Int32 | MtxVec version. |
| MtxVecWorkingDir | String | |
| NAN | Double | Not a number. |
| NAN_SINGLE | Single | |
| NFACT | Int32 | |
| NilPtr | IntPtr | |
| PI | Double | PI. |
| PI180 | Double | PI/180. |
| PI180_SINGLE | Single | PI/180. |
| PI_SINGLE | Single | PI. |
| PIDIV2 | Double | PI/2. |
| PIDIV2_SINGLE | Single | PI/2. |
| S_ONE | Double | |
| S_ONE_SINGLE | Single | |
| S_ZERO | Double | |
| S_ZERO_SINGLE | Single | |
| Saved8087 | UInt16 | |
| SQRT2 | Double | Sqrt(2). |
| SQRT2_SINGLE | Single | Sqrt(2). |
| SQRT2DIV2 | Double | Sqrt(2)/2. |
| SQRT2DIV2_SINGLE | Single | Sqrt(2)/2. |
| SQRT2PI | Double | Sqrt(2PI) |
| SQRT2PI_SINGLE | Single | Sqrt(2PI) |
| SQRTEPS | Double | Sqrt(EPS). |
| SQRTEPS_SINGLE | Single | |
| SQRTPI | Double | Sqrt(PI). |
| SQRTPI_SINGLE | Single | Sqrt(PI). |
| TWOPI | Double | 2*PI. |
| TWOPI_SINGLE | Single | 2*PI. |