Beispiel #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);
Beispiel #2
0
 /// <summary>
 /// Finds all alternative forms of an expression sorted by their complexity
 /// </summary>
 /// <param name="level"></param>
 /// <returns></returns>
 public Set Alternate(int level) => Simplificator.Alternate(this, level);
Beispiel #3
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);