AngouriMath

Navigation

← Back to list of members

InnerSimplified

 Property

Summary

This is the result of naive simplifications. In other
symbolic algebra systems it is called "Automatic simplification".
It only performs an active operation in the first call,
next time it is free to call it in terms of CPU usage. For
consistency's sake, consider the call of this property
as free as the addressing of a field.

Example

using System;
using static AngouriMath.MathS;

var x = Var("x");
var expr = Sqr(Sin(x + 0)) + Sqr(Cos(x / 1));
Console.WriteLine(expr);
Console.WriteLine(expr.InnerSimplified);
Console.WriteLine(expr.Simplify());

Prints
sin(x + 0) ^ 2 + cos(x / 1) ^ 2
sin(x) ^ 2 + cos(x) ^ 2
1

























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