AngouriMath

Navigation

AngouriMath in F#


← Back to the main page

Here we will cover usage of the library for research purposes.

Usage

The library has its wrapper for the F# language. This makes it easier to use the library for projects, written in F#. Example:

open AngouriMath.FSharp.Core
open AngouriMath.FSharp.Functions
open AngouriMath.FSharp.Shortcuts

printfn "%O" (asNumber "2 + 3")
printfn "%O" (``d/dx`` "x2 + a x")
printfn "%O" (``int [dx]`` "x2 + e")
printfn "%O" (``lim x->0`` "sin(a x) / x")

Output:

5
2 * x + a
x ^ 3 / 3 + e * x + C
a

The three modules divide up like this: Core converts to and from Entity, Functions carries the operations with every argument given, and Shortcuts holds the forms that fix x as the variable — `d/dx`, `int [dx]`, `lim x->0`, `lim x->+oo` and the rest.

Nonetheless, you still can call methods from the C# library itself in your code.

























Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 5057 pages online