/dotMath

Fork of the dotMath library by Stephen Hebert, for parsing mathematical expressions.

Primary LanguageC#BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

dotMath

Build status NuGet

This is a fork of the dotMath library that was originally written by Stephen Hebert and hosted on CodePlex, but hadn't been updated since 2004. The documentation found here and on the wiki is mostly pulled from the original CodePlex site.

Overview

Welcome to dotMath, an extensible mathematical expression compiler for .NET. The library allows for variable handling, an entire function library and the ability to add your own functions.

If you need to evaluate fixed or variable expressions, dotMath is your solution.

Install from NuGet

Install-Package dotMath

Example Usage

Fixed expression example:

(sin(5) * cos(4/5)) / 3

Variable expression example:

(sin(a) * cos(b/a)) / c

Documentation