AngouriMath
Navigation
SolveSystemWithParameters(AngouriMath.Entity,AngouriMath.Entity.Variable[])
Method (no overloads)
Summary
Solves a system of equations written as one statement, as
SolveSystem(AngouriMath.Entity,AngouriMath.Entity.Variable[]) does, and says what each parameter in the
answer is and which set it ranges over, as
SolveWithParameters(AngouriMath.Entity.Variable[]) does for a system written
as a list.
SolveSystem(AngouriMath.Entity,AngouriMath.Entity.Variable[]) does, and says what each parameter in the
answer is and which set it ranges over, as
SolveWithParameters(AngouriMath.Entity.Variable[]) does for a system written
as a list.
Parameter "system"
Equations joined by and , as SolveSystem(AngouriMath.Entity,AngouriMath.Entity.Variable[]) takes them.
Parameter "variables"
The unknowns, in the order of the answer's columns.
Returns
The rows SolveSystem(AngouriMath.Entity,AngouriMath.Entity.Variable[]) answers and each parameter in
them with its set:(t_1, CC) for an unknown nothing constrains, (n_1, ZZ) for a whole number of periods. null where
SolveSystem(AngouriMath.Entity,AngouriMath.Entity.Variable[]) is, and where a parameter is one whose
set cannot be named.
them with its set:
SolveSystem(AngouriMath.Entity,AngouriMath.Entity.Variable[]) is, and where a parameter is one whose
set cannot be named.
Remarks
https://github.com/asc-community/AngouriMath/issues/212
Exception "NotSufficientlySupportedException"
As SolveSystem(AngouriMath.Entity,AngouriMath.Entity.Variable[]).
Example
var solved = MathS.SolveSystemWithParameters("2x - 4y = 12", "x", "y");
Console.WriteLine(solved!.Rows);
foreach (var (parameter, domain) in solved.Parameters)
Console.WriteLine($"{parameter} in {domain}");Prints
[[6 + 2 * t_1, t_1]]
t_1 in CCAngouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 6003 pages online