AngouriMath
Expand(System.String)
Method (no overloads)
Summary
Parses and expands the given expression so that as many parentheses as possible
get expanded into a linear expression.
get expanded into a linear expression.
Returns
An expanded expression
Example
Console.WriteLine("(x + 1) ^ 3".Expand());
Console.WriteLine("(x + 1)(x + 2)".Expand());Prints
1 + 3 * x + 3 * x ^ 2 + x ^ 3
x ^ 2 + 3 * x + 2Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online