Skip to content

mXparser – Math Expressions Parser for JAVA, C#, C++, Kotlin, Android, .NET/MONO/Xamarin – Mathematical Formula Parser / Evaluator Library

JAVA, C#, C++, Kotlin, Android, and all .NET platforms (Supports .NET Framework, .NET Core, .NET Standard, Xamarin, MONO and more, common Language Specification Compliant: VB, F#, C++/CLI). Available via Nuget, Maven, CMake, GitHub.

  • mXparser – Math Expression Evaluator / Parser – Library Description
  • mXparser – Tutorial
    • Using internal help
    • Simple expressions
    • Implied multiplication
    • Evaluating relations
    • Using built-in functions
    • User defined constants
    • User defined arguments
    • User defined functions
    • Expression pre-compilation
    • Variadic user defined functions
    • “if” and “iff” functions
    • Summation & Product iterated operators
    • Derivatives & Integrals
    • Solving equation f(x) = 0
    • Prime Numbers
    • Built-in constants
    • Built-in Units
    • Metric prefixes
    • PDF, CDF and Quantile functions
    • Random numbers
    • Built-in Random Variables
    • User defined Random Variables
    • Bitwise Operators
    • Fractions
    • Various numeral systems
    • Fast (limited) user defined recursion
    • User defined recursion – not limited
    • Unicode math
    • Working with NaN – Not-a-Number
    • Radians Mode / Degrees Mode
    • Calculation Steps Register
    • Inspecting calculation process
    • Playing with expression tokens
    • Built-in tokens (key words) manipulation
    • Smart rounding settings
    • Efficient calculations in the loops
    • Extensive list of settings
    • Printing the license
    • Serialization & Deserialization
    • Confirming Non-Commercial / Commercial Use
  • Math Collection
    • Operators
    • Binary Relations
    • Boolean Operators
    • Bitwise Operators
    • Unary Functions
    • Binary Functions
    • 3-args Functions
    • Variadic Functions
    • Random Variables
    • Iterated Operators
    • Calculus Operators
    • Mathematical Constants
    • Physical Constants
    • Astronomical Constants
    • Metric prefixes
    • Units
    • Parser Symbols
    • Number formats
  • mXparser – API
  • Hello World
    • mXparser – Hello World – JAVA
    • mXparser – Hello World – C#
    • mXparser – Hello World – Visual Basic
    • mXparser – Hello World – C++/CLI
    • mXparser – Hello World – F#
    • mXparser – Hello World – C# – Mono
  • Downloads
    • Download Stats
  • mXparser – LICENSE
  • Order a Commercial License
  • Donate
  • Performance
    • Performance – Windows 10 – JAVA vs .NET vs MONO
    • Performance – Windows 7 – JAVA 1.7 vs .NET 2.0
    • Performance – Raspberry PI 2 – JAVA vs MONO
    • Performance – Windows 10 – JDK 1.5 vs 1.6 vs 1.7 vs 1.8
  • Release Notes
  • Blog
  • Share how you use mXparser
  • Powered by mXparser

MathParser.org-mXparser 250,000 downloads !!!

December 20, 2022StatsMariusz Gromada
20.12.2019: first 250000 downloads!
01.01.2019: first 100000 downloads!
01.08.2018: first 60000 downloads!
20.11.2017: first 20000 downloads!
01.09.2017: first 15000 downloads!
04.05.2017: first 10000 downloads!
31.03.2016: first 1000 downloads!
One comment so far

mXparser v.5.0 (Leonis) released – a major update

April 19, 2022Release notesMariusz Gromada
  • Implied Multiplication: #243
  • Unicode Math Symbols: #249
  • Student’s t-distribution: #256
  • Chi-Squared Distribution: #257
  • An Attempt To Fix Expression String: #254
  • Minor Bug fixing
  • Regression tests refactoring: #247

Leave a comment

MathParser.org-mXparser 1,000,000 downloads !!!

November 23, 2021StatsMariusz Gromada
23.11.2021: first 1000000 downloads!
15.10.2020: first 500000 downloads!
20.12.2019: first 250000 downloads!
01.01.2019: first 100000 downloads!
01.08.2018: first 60000 downloads!
20.11.2017: first 20000 downloads!
01.09.2017: first 15000 downloads!
04.05.2017: first 10000 downloads!
31.03.2016: first 1000 downloads!
Leave a comment

MathParser.org-mXparser 500,000 downloads !!!

October 15, 2020StatsMariusz Gromada
15.10.2020: first 500000 downloads!
20.12.2019: first 250000 downloads!
01.01.2019: first 100000 downloads!
01.08.2018: first 60000 downloads!
20.11.2017: first 20000 downloads!
01.09.2017: first 15000 downloads!
04.05.2017: first 10000 downloads!
31.03.2016: first 1000 downloads!
Leave a comment

MathParser.org-mXparser 100,000 downloads !!!

January 1, 2019StatsMariusz Gromada
01.08.2018: first 60000 downloads!
20.11.2017: first 20000 downloads!
01.09.2017: first 15000 downloads!
04.05.2017: first 10000 downloads!
31.03.2016: first 1000 downloads!
Leave a comment

MathParser.org-mXparser 60,000 downloads !!!

August 1, 2018StatsMariusz Gromada
01.08.2018: first 60000 downloads!
20.11.2017: first 20000 downloads!
01.09.2017: first 15000 downloads!
04.05.2017: first 10000 downloads!
31.03.2016: first 1000 downloads!

Leave a comment

NASA Core Flight System uses MathParser.org-mXparser

December 22, 2017GeneralMariusz Gromada

NASA Core Flight System (CFS) Command and Data Dictionary (CCDD) utility uses mXparser! Dear NASA – thank you for your t(h)rust 🙂

NASA Core Flight System uses mXparser

Best regards,

Mariusz Gromada

View all 5 comments

MathParser.org-mXparser 20000 downloads !!!

November 20, 2017GeneralMariusz Gromada

  • 20.11.2017: first 20000 downloads! Last 4 weeks stats – 81 downloads daily!
  • 01.09.2017: first 15000 downloads!
  • 04.05.2017: first 10000 downloads!
  • 31.03.2016: first 1000 downloads!

Thank you!

Mariusz Gromada

Leave a comment

Why this formula gives approximation of e?

September 11, 2017Probability theoryMariusz Gromada

mXparser code:

Function s = new Function("s(n, x) = if( x >= 1, n, s(n+1, x + rUni(0,1) ) )");
Expression e = new Expression("avg( i, 1, 10000, s(0,0) )", s);

Result:

[mXparser-v.4.1.1] 2.7194

Best regards,
Mariusz Gromada

View all 8 comments

MathParser.org-mXparser 10000 downloads !!!

May 4, 2017GeneralMariusz Gromada

mXparser 10000 downloads!

  • 31.03.2016: first 1000 downloads!
  • 04.05.2017: first 10000 downloads!
  • 1 year period:  c.a. 23 downloads daily
  • Last 6 weeks: c.a. 44 downloads daily !!

Thank you 🙂

Best regards,

Mariusz Gromada

One comment so far

Posts navigation

← Older posts

Scalar Pro — Advanced Calculator & Math Scripts

Scalar Pro

Scalar Scientific Calculator, Charts & Scripts

Get it on Google Play

Scalar Pro Scientific Calculator, Charts & Scripts

Get it on Google Play

Scalar Pro — Advanced Calculator & Math Scripts

Scalar Pro

Scalar Scientific Calculator, Charts & Scripts

Get it on Google Play

Scalar Pro Scientific Calculator, Charts & Scripts

Get it on Google Play

Recent Posts

  • MathParser.org-mXparser 250,000 downloads !!!
  • mXparser v.5.0 (Leonis) released – a major update
  • MathParser.org-mXparser 1,000,000 downloads !!!
  • MathParser.org-mXparser 500,000 downloads !!!
  • MathParser.org-mXparser 100,000 downloads !!!

Recent Comments

  • Santo Puthoor on Share how you use mXparser
  • THB on Share how you use mXparser
  • THB on Share how you use mXparser
  • Jose Maria on Share how you use mXparser
  • amit kamble on Share how you use mXparser

Archives

  • December 2022
  • April 2022
  • November 2021
  • October 2020
  • January 2019
  • August 2018
  • December 2017
  • November 2017
  • September 2017
  • May 2017
  • April 2017
  • March 2017
  • May 2016
  • March 2016
  • February 2016
  • January 2016

Categories

  • Calculus
  • Combinatorics
  • General
  • Mathematics
  • Probability theory
  • Release notes
  • Stats
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Recent Posts

  • MathParser.org-mXparser 250,000 downloads !!!
  • mXparser v.5.0 (Leonis) released – a major update
  • MathParser.org-mXparser 1,000,000 downloads !!!
  • MathParser.org-mXparser 500,000 downloads !!!
  • MathParser.org-mXparser 100,000 downloads !!!

Recent Comments

  • Santo Puthoor on Share how you use mXparser
  • THB on Share how you use mXparser
  • THB on Share how you use mXparser
  • Jose Maria on Share how you use mXparser
  • amit kamble on Share how you use mXparser

Archives

  • December 2022
  • April 2022
  • November 2021
  • October 2020
  • January 2019
  • August 2018
  • December 2017
  • November 2017
  • September 2017
  • May 2017
  • April 2017
  • March 2017
  • May 2016
  • March 2016
  • February 2016
  • January 2016

Categories

  • Calculus
  • Combinatorics
  • General
  • Mathematics
  • Probability theory
  • Release notes
  • Stats
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress
Scalar - Scientific Calculator, Charts & Scripts

Scalar is a powerful math engine and math scripting language powered by the MathParser.org-mXparser

Click on the video and see Scalar in action 🙂

 

Scalar – lite version

Get it on Google Play

Scalar Pro – full professional version

Get it on Google Play

The download will start in a moment
Great! Thank you for using MathParser.org-mXparser 🙂 Important – this page offers a detailed tutorial with a description of the built-in math collection syntax and an extensive API documentation. If you plan to use the software for a commercial purpose, please see the terms and conditions and the variants of the license. If, for some reasons, the download did not start, please use these direct links: Binaries & Documentation or Binaries only

ORDER PageorINFIMA Store

I wish you all the best 🙂
Thank you for using MathParser.org-mXparser
Great! That code snippet is already in your clipboard 🙂 Important – this page offers a detailed tutorial with a description of the syntax of the built-in math collection and an extensive API documentation. If you plan to use the software for a commercial purpose, please see the terms and conditions and the variants of the license.
ORDER PageorINFIMA Store

I wish you all the best 🙂

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close