TO SUPPORT MY WORK, ORDER A COMMERCIAL LICENSE
THANK YOU!
mXparser provides a rich collection of built-in math functions, math expressions, and math symbols. Familiarize yourself with the scope and the syntax. Math collection internal help is also available directly from the software – see the tutorial and the API documentation for all the details.
Tutorial Math Collection API spec Download
mXparser – built-in Unary Functions
Keyword | Type | Syntax | Since | Description |
---|---|---|---|---|
sin | Unary function | sin(x) | 1.0 | Trigonometric sine – Unary function |
cos | Unary function | cos(x) | 1.0 | Trigonometric cosine – Unary function |
tg | Unary function | tg(x) | 1.0 | Trigonometric tangent – Unary function |
tan | Unary function | tan(x) | 1.0 | Trigonometric tangent – Unary function |
ctg | Unary function | ctg(x) | 1.0 | Trigonometric cotangent – Unary function |
cot | Unary function | cot(x) | 1.0 | Trigonometric cotangent – Unary function |
ctan | Unary function | ctan(x) | 1.0 | Trigonometric cotangent – Unary function |
sec | Unary function | sec(x) | 1.0 | Trigonometric secant – Unary function |
csc | Unary function | csc(x) | 1.0 | Trigonometric cosecant – Unary function |
cosec | Unary function | cosec(x) | 1.0 | Trigonometric cosecant – Unary function |
asin | Unary function | asin(x) | 1.0 | Inverse trigonometric sine – Unary function |
arsin | Unary function | arsin(x) | 1.0 | Inverse trigonometric sine – Unary function |
arcsin | Unary function | arcsin(x) | 1.0 | Inverse trigonometric sine – Unary function |
acos | Unary function | acos(x) | 1.0 | Inverse trigonometric cosine – Unary function |
arcos | Unary function | arcos(x) | 1.0 | Inverse trigonometric cosine – Unary function |
arccos | Unary function | arccos(x) | 1.0 | Inverse trigonometric cosine – Unary function |
atg | Unary function | atg(x) | 1.0 | Inverse trigonometric tangent – Unary function |
atan | Unary function | atan(x) | 1.0 | Inverse trigonometric tangent – Unary function |
arctg | Unary function | arctg(x) | 1.0 | Inverse trigonometric tangent – Unary function |
arctan | Unary function | arctan(x) | 1.0 | Inverse trigonometric tangent – Unary function |
actg | Unary function | actg(x) | 1.0 | Inverse trigonometric cotangent – Unary function |
acot | Unary function | acot(x) | 1.0 | Inverse trigonometric cotangent – Unary function |
actan | Unary function | actan(x) | 1.0 | Inverse trigonometric cotangent – Unary function |
arcctg | Unary function | arcctg(x) | 1.0 | Inverse trigonometric cotangent – Unary function |
arccot | Unary function | arccot(x) | 1.0 | Inverse trigonometric cotangent – Unary function |
arcctan | Unary function | arcctan(x) | 1.0 | Inverse trigonometric cotangent – Unary function |
ln | Unary function | ln(x) | 1.0 | Natural logarithm (base e) – Unary function |
log2 | Unary function | log2(x) | 1.0 | Binary logarithm (base 2) – Unary function |
lg | Unary function | lg(x) | 5.0 | Common logarithm (base 10) – Unary function |
log10 | Unary function | log10(x) | 1.0 | Common logarithm (base 10) – Unary function |
rad | Unary function | rad(x) | 1.0 | Degrees to radians – Unary function |
exp | Unary function | exp(x) | 1.0 | Exponential – Unary function |
sqrt | Unary function | sqrt(x) | 1.0 | Squre root – Unary function |
sinh | Unary function | sinh(x) | 1.0 | Hyperbolic sine – Unary function |
cosh | Unary function | cosh(x) | 1.0 | Hyperbolic cosine – Unary function |
tgh | Unary function | tgh(x) | 1.0 | Hyperbolic tangent – Unary function |
tanh | Unary function | tanh(x) | 1.0 | Hyperbolic tangent – Unary function |
coth | Unary function | coth(x) | 1.0 | Hyperbolic cotangent – Unary function |
ctgh | Unary function | ctgh(x) | 1.0 | Hyperbolic cotangent – Unary function |
ctanh | Unary function | ctanh(x) | 1.0 | Hyperbolic cotangent – Unary function |
sech | Unary function | sech(x) | 1.0 | Hyperbolic secant – Unary function |
csch | Unary function | csch(x) | 1.0 | Hyperbolic cosecant – Unary function |
cosech | Unary function | cosech(x) | 1.0 | Hyperbolic cosecant – Unary function |
deg | Unary function | deg(x) | 1.0 | Radians to degrees – Unary function |
abs | Unary function | abs(x) | 1.0 | Absolut value – Unary function |
sgn | Unary function | sgn(x) | 1.0 | Signum – Unary function |
floor | Unary function | floor(x) | 1.0 | Floor – Unary function |
ceil | Unary function | ceil(x) | 1.0 | Ceiling – Unary function |
not | Unary function | not(x) | 1.0 | Negation – Unary function |
asinh | Unary function | asinh(x) | 1.0 | Inverse hyperbolic sine – Unary function |
arsinh | Unary function | arsinh(x) | 1.0 | Inverse hyperbolic sine – Unary function |
arcsinh | Unary function | arcsinh(x) | 1.0 | Inverse hyperbolic sine – Unary function |
acosh | Unary function | acosh(x) | 1.0 | Inverse hyperbolic cosine – Unary function |
arcosh | Unary function | arcosh(x) | 1.0 | Inverse hyperbolic cosine – Unary function |
arccosh | Unary function | arccosh(x) | 1.0 | Inverse hyperbolic cosine – Unary function |
atgh | Unary function | atgh(x) | 1.0 | Inverse hyperbolic tangent – Unary function |
atanh | Unary function | atanh(x) | 1.0 | Inverse hyperbolic tangent – Unary function |
arctgh | Unary function | arctgh(x) | 1.0 | Inverse hyperbolic tangent – Unary function |
arctanh | Unary function | arctanh(x) | 1.0 | Inverse hyperbolic tangent – Unary function |
acoth | Unary function | acoth(x) | 1.0 | Inverse hyperbolic cotangent – Unary function |
actgh | Unary function | actgh(x) | 1.0 | Inverse hyperbolic cotangent – Unary function |
actanh | Unary function | actanh(x) | 1.0 | Inverse hyperbolic cotangent – Unary function |
arcoth | Unary function | arcoth(x) | 1.0 | Inverse hyperbolic cotangent – Unary function |
arccoth | Unary function | arccoth(x) | 1.0 | Inverse hyperbolic cotangent – Unary function |
arcctgh | Unary function | arcctgh(x) | 1.0 | Inverse hyperbolic cotangent – Unary function |
arcctanh | Unary function | arcctanh(x) | 1.0 | Inverse hyperbolic cotangent – Unary function |
asech | Unary function | asech(x) | 1.0 | Inverse hyperbolic secant – Unary function |
arsech | Unary function | arsech(x) | 1.0 | Inverse hyperbolic secant – Unary function |
arcsech | Unary function | arcsech(x) | 1.0 | Inverse hyperbolic secant – Unary function |
acsch | Unary function | acsch(x) | 1.0 | Inverse hyperbolic cosecant – Unary function |
arcsch | Unary function | arcsch(x) | 1.0 | Inverse hyperbolic cosecant – Unary function |
arccsch | Unary function | arccsch(x) | 1.0 | Inverse hyperbolic cosecant – Unary function |
acosech | Unary function | acosech(x) | 1.0 | Inverse hyperbolic cosecant – Unary function |
arcosech | Unary function | arcosech(x) | 1.0 | Inverse hyperbolic cosecant – Unary function |
arccosech | Unary function | arccosech(x) | 1.0 | Inverse hyperbolic cosecant – Unary function |
Sa | Unary function | Sa(x) | 1.0 | Sinc (normalized) – Unary function |
sinc | Unary function | sinc(x) | 1.0 | Sinc (normalized) – Unary function |
Sinc | Unary function | Sinc(x) | 1.0 | Sinc (unnormalized) – Unary function |
Bell | Unary function | Bell(n) | 1.0 | Bell number – Unary function |
Luc | Unary function | Luc(n) | 1.0 | Lucas number – Unary function |
Fib | Unary function | Fib(n) | 1.0 | Fibonacci number – Unary function |
harm | Unary function | harm(n) | 1.0 | Harmonic number – Unary function |
ispr | Unary function | ispr(n) | 2.3 | Prime number test (is number a prime?) – Unary function |
Pi | Unary function | Pi(n) | 2.3 | Prime-counting π(n) – Unary function |
Ei | Unary function | Ei(x) | 2.3 | Exponential integral – Special function Ei(x) – Unary function |
li | Unary function | li(x) | 2.3 | Logarithmic integral – Special function li(x) – Unary function |
Li | Unary function | Li(x) | 2.3 | Offset logarithmic integral – Special function Li(x) – Unary function |
erf | Unary function | erf(x) | 3.0 | Gauss error – Special function erf(x) – Unary function |
erfc | Unary function | erfc(x) | 3.0 | Gauss complementary error – Special function erfc(x) – Unary function |
erfInv | Unary function | erfInv(x) | 3.0 | Inverse Gauss error – Special function erf⁻¹(y) – Unary function |
erfcInv | Unary function | erfcInv(x) | 3.0 | Inverse Gauss complementary error – Special function erfc⁻¹(x) – Unary function |
ulp | Unary function | ulp(x) | 3.0 | Unit in The Last Place – Unary function |
isNaN | Unary function | isNaN(x) | 4.1 | Returns true if value is a Not-a-Number (NaN), false otherwise (true=1, false=1) – Unary function |
ndig10 | Unary function | ndig10(x) | 4.1 | Number of digits in numeral system with base 10 – Unary function |
nfact | Unary function | nfact(x) | 4.1 | Prime decomposition – number of distinct prime factors – Unary function |
arcsec | Unary function | arcsec(x) | 4.1 | Inverse trigonometric secant – Unary function |
arccsc | Unary function | arccsc(x) | 4.1 | Inverse trigonometric cosecant – Unary function |
Gamma | Unary function | Gamma(x) | 4.2 | Gamma – Special function Γ(s) – Unary function |
LambW0 | Unary function | LambW0(x) | 4.2 | Lambert-W, principal branch 0, also called the omega or product logarithm – Special function W₀(x) – Unary function |
LambW1 | Unary function | LambW1(x) | 4.2 | Lambert-W, branch -1, also called the omega or product logarithm – Special function W₋₁(x) – Unary function |
sgnGamma | Unary function | sgnGamma(x) | 4.2 | Signum of Gamma – Special function Γ(s) – Unary function |
logGamma | Unary function | logGamma(x) | 4.2 | Log Gamma – Special function lnΓ(s) – Unary function |
diGamma | Unary function | diGamma(x) | 4.2 | Digamma as the logarithmic derivative of the Gamma – Special function ψ(x) – Unary function |
rStud | Unary function | rStud(v) | 5.0 | Random variable – Student’s t-distribution – Unary function |
rChi2 | Unary function | rChi2(k) | 5.0 | Random variable – Chi-squared distribution – Unary function |
Nuget – Package Manager
Install-Package
MathParser.org-mXparser
-Version
6.0.0
dotnet add package
MathParser.org-mXparser
--version
6.0.0
<PackageReference Include=
"MathParser.org-mXparser"
Version=
"6.0.0"
/>
Maven – Dependency
<dependency>
<groupid>org.mariuszgromada.math
</groupid>
<artifactid>MathParser.org-mXparser
</artifactid>
<version>6.0.0
</version>
</dependency>
Maven – Gradle
implementation
'org.mariuszgromada.math:MathParser.org-mXparser:6.0.0'
CMake – Dependency / FetchContent
include(FetchContent)
FetchContent_Declare(MathParserOrgMxParser
GIT_REPOSITORY https://github.com/mariuszgromada/MathParser.org-mXparser.git
SOURCE_SUBDIR CURRENT/cpp/lib
)
FetchContent_MakeAvailable(MathParserOrgMxParser
)
target_link_libraries(YourExecutable MathParserOrgMxParser
)
GitHub
git clone
https://github.com/mariuszgromada/MathParser.org-mXparser
OTHER DOWNLOAD OPTIONS
Download latest release – v.6.0.0 Picon: .NET bin onlyDownload latest release – v.6.0.0 Picon: JAVA bin onlyDownload latest release – v.6.0.0 Picon: bin + doc
NEWS FROM MATHPARSER.ORG
SOURCE CODE
Source code .zipSource code .tar.gz
View on GitHubMathSpace.pl