AngouriMath

Try it live

Navigation

← Back to list of members

Solve​(AngouriMath.​Entity.​Variable[])

 Method (no overloads)

Summary

Solves a system of equations, if possible.

Parameter "vars"

The unknowns, as many as there are equations or not. Where there are more, or where a
system leaves one free, it becomes a parameter in the answer: x^2 + y^2 = 1 for
x and y is two rows, x = t_1 with y the positive and the
negative square root of 1 - t_1^2.

Returns

If there exists at least one solution, returns a solution matrix
The first axis of the matrix corresponds to the number of solutions,
the second one corresponds to the number of variables.

The i-th column of the matrix represents the possible values of the i-th variable.

If no solution was found, returns a null.

Exception "NotSufficientlySupportedException"

The work the call may spend ran out before the system was solved: the budget in
Budget where it is set, and the solver's own where it
is not. This is "not settled", not
"no solution"; raise the budget to allow more.

























Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 6091 pages online