AngouriMath
Simplify
Method with 2 overloads
Simplify(System.String,System.Int32)
Summary
Parses this and simplifies by running Simplify(System.Int32)Returns
Simplified expressionExample
The level is how many rewriting rounds are allowed, and level 0 is none of them,
so it hands the parsed expression straight back:
Console.WriteLine("a / (b / c)".Simplify(0)); Console.WriteLine("a / (b / c)".Simplify(1));
Prints
a / (b / c) a * c / bSimplify(System.String)
Summary
Parses this and simplifies by running Simplify(System.Int32)Returns
Simplified expressionExample
Console.WriteLine("sin(x) ^ 2 + cos(x) ^ 2".Simplify()); Console.WriteLine("(x + 1) ^ 2 - (x - 1) ^ 2".Simplify());
Prints
1 4 * x
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online