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. The math collection library is available at runtime and is fully and identically supported by the Java (including Kotlin, Android), C# (all .NET) and C++ versions.

Tutorial Math Collection API spec Download

mXparser – built-in Mathematical Constants

KeywordTypeSyntaxSinceDescription
πConstant valueπ5.0Pi, Archimedes’ or Ludolph’s number – Mathematical constant π – Constant value – Unicode math symbol
Constant value5.0Pi, Archimedes’ or Ludolph’s number – Mathematical constant π – Constant value – Unicode math symbol
piConstant valuepi1.0Pi, Archimedes’ or Ludolph’s number – Mathematical constant π – Constant value
eConstant valuee1.0Napier’s or Euler’s number (base of Natural logarithm) – Mathematical constant e – Constant value
Constant value5.0Napier’s or Euler’s number (base of Natural logarithm) – Mathematical constant e – Constant value – Unicode math symbol
Constant value5.0Napier’s or Euler’s number (base of Natural logarithm) – Mathematical constant e – Constant value – Unicode math symbol
[gam]Constant value[gam]1.0Euler-Mascheroni constant – Mathematical constant γ – Constant value
[phi]Constant value[phi]1.0Golden ratio – Mathematical constant φ – Constant value
[PN]Constant value[PN]1.0Plastic constant – Mathematical constant ρ – Constant value
[B*]Constant value[B*]1.0Embree-Trefethen constant – Mathematical constant β* – Constant value
[F’d]Constant value[F’d]1.0Feigenbaum delta constant – Mathematical constant δ – Constant value
[F’a]Constant value[F’a]1.0Feigenbaum alpha constant – Mathematical constant α – Constant value
[C2]Constant value[C2]1.0Twin prime constant – Mathematical constant ∏₂ – Constant value
[M1]Constant value[M1]1.0Meissel-Mertens constant – Mathematical constant M₁, B₁ – Constant value
[B2]Constant value[B2]1.0Brun’s constant for twin primes – Mathematical constant B₂ – Constant value
[B4]Constant value[B4]1.0Brun’s constant for prime quadruplets – Mathematical constant B₄ – Constant value
[BN’L]Constant value[BN’L]1.0de Bruijn-Newman constant – Mathematical constant Λ – Constant value
[Kat]Constant value[Kat]1.0Catalan’s constant – Mathematical constant G – Constant value
[K*]Constant value[K*]1.0Landau-Ramanujan constant – Mathematical constant b – Constant value
[K.]Constant value[K.]1.0Viswanath’s constant – Mathematical constant V – Constant value
[B’L]Constant value[B’L]1.0Legendre’s constant – Mathematical constant B – Constant value
[RS’m]Constant value[RS’m]1.0Ramanujan-Soldner constant – Mathematical constant μ – Constant value
[EB’e]Constant value[EB’e]1.0Erdos-Borwein constant – Mathematical constant E – Constant value
[Bern]Constant value[Bern]1.0Bernstein’s constant – Mathematical constant β – Constant value
[GKW’l]Constant value[GKW’l]1.0Gauss-Kuzmin-Wirsing constant – Mathematical constant λ – Constant value
[HSM’s]Constant value[HSM’s]1.0Hafner-Sarnak-McCurley constant – Mathematical constant σ – Constant value
[lm]Constant value[lm]1.0Golomb-Dickman constant – Mathematical constant λ – Constant value
[Cah]Constant value[Cah]1.0Cahen’s constant – Mathematical constant C – Constant value
[Ll]Constant value[Ll]1.0Laplace limit constant – Mathematical constant – Constant value
[AG]Constant value[AG]1.0Alladi-Grinstead constant – Mathematical constant – Constant value
[L*]Constant value[L*]1.0Lengyel’s constant – Mathematical constant Λ – Constant value
[L.]Constant value[L.]1.0Levy’s constant – Mathematical constant – Constant value
[Dz3]Constant value[Dz3]1.0Apery’s constant – Mathematical constant ζ(3) – Constant value
[A3n]Constant value[A3n]1.0Mills’ constant – Mathematical constant A – Constant value
[Bh]Constant value[Bh]1.0Backhouse’s constant – Mathematical constant B – Constant value
[Pt]Constant value[Pt]1.0Porter’s constant – Mathematical constant C – Constant value
[L2]Constant value[L2]1.0Lieb’s square ice constant – Mathematical constant – Constant value
[Nv]Constant value[Nv]1.0Niven’s constant – Mathematical constant C – Constant value
[Ks]Constant value[Ks]1.0Sierpinski’s constant – Mathematical constant K – Constant value
[Kh]Constant value[Kh]1.0Khinchin’s constant – Mathematical constant K₀ – Constant value
[FR]Constant value[FR]1.0Fransen-Robinson constant – Mathematical constant F – Constant value
[La]Constant value[La]1.0Landau’s constant – Mathematical constant L – Constant value
[P2]Constant value[P2]1.0Parabolic constant – Mathematical constant P – Constant value
[Om]Constant value[Om]1.0Omega constant – Mathematical constant Ω – Constant value
[MRB]Constant value[MRB]1.0MRB constant – Mathematical constant S – Constant value
[li2]Constant value[li2]2.3Logarithmic integral at point 2 – Mathematical constant li(2) – Constant value
[EG]Constant value[EG]2.3Gompertz constant – Mathematical constant δ – Constant value
as of 2023-01-29
Nuget – Package Manager (C#, F#, Visual Basic, …)

Install-Package MathParser.org-mXparser -Version 6.1.0

Nuget – .NET CLI

dotnet add package MathParser.org-mXparser --version 6.1.0

Nuget – Package Reference

<PackageReference Include="MathParser.org-mXparser" Version="6.1.0"/>

Maven – Dependency (Java, Kotlin, Scala, Groovy, …)

<dependency>
<groupid>
org.mariuszgromada.math</groupid>
<artifactid>
MathParser.org-mXparser</artifactid>
<version>
6.1.0</version>
</dependency>

Maven – Gradle

implementation 'org.mariuszgromada.math:MathParser.org-mXparser:6.1.0'

CMake – Dependency / FetchContent (C++, MSVC, LLVM/Clang, GNU/GCC, MinGW, MSYS2, WSL, Windows, Linux, Unix, MacOS)

include(FetchContent)
FetchContent_Declare(
MathParserOrgMxParser
GIT_REPOSITORY
https://github.com/mariuszgromada/MathParser.org-mXparser.git
GIT_TAG
v.6.1.0
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.1.0 Sagitara: .NET bin onlyDownload latest release – v.6.1.0 Sagitara: JAVA bin onlyDownload latest release – v.6.1.0 Sagitara: bin + doc

NEWS FROM MATHPARSER.ORG
SOURCE CODE

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

My other creative spaces

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