← Back to the main page
Many of functions are MathS' methods where MathS is a public static class. All its methods are documented in the code.
It is the main static class for functions. Some of them create new nodes, like MathS.Sin
, and others.
Functions like MathS.Hyperbolic.Sinh
create an expression according to its symbolic definition.
parses a string and returns an expression. For example,
using static AngouriMath.MathS;
var expr = FromString("x + 2");
Would return the same result as
Entity expr = "x + 2";
uses caching by string. If you need to save memory or confident that
expressions will never repeat, then you may want to disable it like this:
var expr = FromString("a + x", useCache: false);
Then it will not look up for cache neither it will cache the result. The implicit operator
from string does use the cache.
Note, that this method, as well as the implicit operator, will not simplify the result.
returns a mathematical representation of the given expression.
Although in most cases it will return an expression that can be parsed from string
back into an Entity
, there is no guarantee so far that it will not change.
Entity expr = "a x + b";
a * x + b
returns a LaTeX
code that can be then rendered into an image.
Entity expr = "a / b + sqrt(c)";
© 2019-2022 ·
1533 pages online