Ejemplo n.º 1
0
 /// <summary>
 /// Simplifies an equation (e. g. (x - y) * (x + y) -> x^2 - y^2, but 3 * x + y * x = (3 + y) * x)
 /// </summary>
 /// <param name="level">
 /// Increase this argument if you think the equation should be simplified better
 /// </param>
 /// <returns></returns>
 public Entity Simplify(int level) => Simplificator.Simplify(this, level);
Ejemplo n.º 2
0
 /// <summary>
 /// Simplifies an equation (e. g. (x - y) * (x + y) -> x^2 - y^2, but 3 * x + y * x = (3 + y) * x)
 /// </summary>
 /// <returns></returns>
 public Entity Simplify() => Simplificator.Simplify(this);