Mathematical Constants

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 Mathematical Constants

Key wordCategoryDescriptionExampleSince
πConstant ValuePi, Archimedes’ constant or Ludolph’s number – unicode math symbolπ5.0
Constant ValuePi, Archimedes’ constant or Ludolph’s number – unicode math symbol5.0
piConstant ValuePi, Archimedes’ constant or Ludolph’s numberpi1.0
eConstant ValueNapier’s constant, or Euler’s number, base of Natural logarithme1.0
Constant ValueNapier’s constant, or Euler’s number, base of Natural logarithm – unicode math symbol5.0
Constant ValueNapier’s constant, or Euler’s number, base of Natural logarithm – unicode math symbol5.0
[gam]Constant ValueEuler-Mascheroni constant[gam]1.0
[phi]Constant ValueGolden ratio[phi]1.0
[PN]Constant ValuePlastic constant[PN]1.0
[B*]Constant ValueEmbree-Trefethen constant[B*]1.0
[F’d]Constant ValueFeigenbaum constant alfa[F’d]1.0
[F’a]Constant ValueFeigenbaum constant delta[F’a]1.0
[C2]Constant ValueTwin prime constant[C2]1.0
[M1]Constant ValueMeissel-Mertens constant[M1]1.0
[B2]Constant ValueBrun’s constant for twin primes[B2]1.0
[B4]Constant ValueBrun’s constant for prime quadruplets[B4]1.0
[BN’L]Constant Valuede Bruijn-Newman constant[BN’L]1.0
[Kat]Constant ValueCatalan’s constant[Kat]1.0
[K*]Constant ValueLandau-Ramanujan constant[K*]1.0
[K.]Constant ValueViswanath’s constant[K.]1.0
[B’L]Constant ValueLegendre’s constant[B’L]1.0
[RS’m]Constant ValueRamanujan-Soldner constant[RS’m]1.0
[EB’e]Constant ValueErdos-Borwein constant[EB’e]1.0
[Bern]Constant ValueBernstein’s constant[Bern]1.0
[GKW’l]Constant ValueGauss-Kuzmin-Wirsing constant[GKW’l]1.0
[HSM’s]Constant ValueHafner-Sarnak-McCurley constant[HSM’s]1.0
[lm]Constant ValueGolomb-Dickman constant[lm]1.0
[Cah]Constant ValueCahen’s constant[Cah]1.0
[Ll]Constant ValueLaplace limit[Ll]1.0
[AG]Constant ValueAlladi-Grinstead constant[AG]1.0
[L*]Constant ValueLengyel’s constant[L*]1.0
[L.]Constant ValueLevy’s constant[L.]1.0
[Dz3]Constant ValueApery’s constant[Dz3]1.0
[A3n]Constant ValueMills’ constant[A3n]1.0
[Bh]Constant ValueBackhouse’s constant[Bh]1.0
[Pt]Constant ValuePorter’s constant[Pt]1.0
[L2]Constant ValueLieb’s square ice constant[L2]1.0
[Nv]Constant ValueNiven’s constant[Nv]1.0
[Ks]Constant ValueSierpinski’s constant[Ks]1.0
[Kh]Constant ValueKhinchin’s constant[Kh]1.0
[FR]Constant ValueFransen-Robinson constant[FR]1.0
[La]Constant ValueLandau’s constant[La]1.0
[P2]Constant ValueParabolic constant[P2]1.0
[Om]Constant ValueOmega constant[Om]1.0
[MRB]Constant ValueMRB constant[MRB]1.0
[li2]Constant Valueli(2) – Logarithmic integral function at x=2[li2]2.3
[EG]Constant ValueGompertz constant[EG]2.3
[true]Constant ValueBoolean True represented as double, [true] = 1[true]4.1
[false]Constant ValueBoolean False represented as double, [false] = 0[false]4.1
[NaN]Constant ValueNot-a-Number[NaN]4.1
as of 2022-04-15
Nuget
Install-Package MathParser.org-mXparser -Version 5.0.2
Maven
<dependency>
<groupid>org.mariuszgromada.math</groupid>
<artifactid>MathParser.org-mXparser</artifactid>
<version>5.0.2</version>
</dependency>
Gradle
implementation 'org.mariuszgromada.math:MathParser.org-mXparser:5.0.2'
Gradle (Kotlin)
implementation("org.mariuszgromada.math:MathParser.org-mXparser:5.0.2")
GitHub
git clone https://github.com/mariuszgromada/MathParser.org-mXparser
OTHER DOWNLOAD OPTIONS

Download latest release – v.5.0.2 Leonis: bin + docDownload latest release – v.5.0.2 Leonis: bin only, includes separate binaries for various .NET platforms and Java versions

NEWS FROM MATHPARSER.ORG
SOURCE CODE

Source code .zipSource code .tar.gz
View on GitHubMathSpace.pl

DONATION
Did you find the software useful?
Please consider donation 🙂
DONATE