|
AngouriMath
|
A class for systems of equations. More...


Public Member Functions | |
| EquationSystem (IEnumerable< Entity > equations) | |
| The equations you pass should not have an MathS.Equality node. More... | |
| EquationSystem (params Entity[] equations) | |
| The equations you pass should not have an MathS.Equality node. More... | |
| Matrix | Solve (params Variable[] vars) |
| Solves a system of equations, if possible. More... | |
| string | Latexise () |
| |
| override string | ToString () |
A class for systems of equations.
Is not part of AM's ecosystem, that is, it is not an Entity, just an intermediate class. It is a system of arbitrary equations, not only those linear. However, it is not a system of Statements.
| AngouriMath.Core.EquationSystem.EquationSystem | ( | IEnumerable< Entity > | equations | ) |
The equations you pass should not have an MathS.Equality node.
After having created a system of equations, you may solve or latexise it.
| equations | Any IEnumerable<T> parameter, such as List<T> or System.Array. |
| AngouriMath.Core.EquationSystem.EquationSystem | ( | params Entity [] | equations | ) |
The equations you pass should not have an MathS.Equality node.
After having created a system of equations, you may solve or latexise it.
| equations | An System.Array |
|
inline |
It adds zero equality to all the provided expressions
Implements AngouriMath.Core.ILatexiseable.
| Matrix AngouriMath.Core.EquationSystem.Solve | ( | params Variable [] | vars | ) |
Solves a system of equations, if possible.
| vars | The umber of variables must match number of equations |
<return> 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. </return>
1.8.13