AngouriMath

Navigation

← Back to list of members

SmartExpandOver​(AngouriMath.​Entity,​AngouriMath.​Entity.​Variable)

 Method (no overloads)

Summary

Performs the expansion operation over the given variable

Example

using System;
using AngouriMath;
using static AngouriMath.MathS.Utils;

Entity expr = "(x + 2)(a + b + 2x) + x + sin(x)";
Console.WriteLine(SmartExpandOver(expr, "x"));

Prints
x * 2 * x + x * (a + b) + 2 * 2 * x + 2 * (a + b) + x + sin(x)

























Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 1534 pages online