AngouriMath
Solve(System.String,AngouriMath.Entity.Variable)
Method (no overloads)
Summary
Solves the statement. The given expression must be boolean type,
for example, equality, or boolean operators.
for example, equality, or boolean operators.
Parameter "expr"
The statement of var that is assumed to be true
Parameter "var"
The variables over which to solve
Returns
A Set of roots
Example
Unlike SolveEquation(System.String,AngouriMath.Entity.Variable) this takes a statement, so it
also answers inequalities, and then the solution set need not be finite:
Prints
also answers inequalities, and then the solution set need not be finite:
Console.WriteLine("x2 = 4".Solve("x"));
Console.WriteLine("x > 1 and x < 3".Solve("x"));Prints
{ 2, -2 }
(1; 3)Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online