AngouriMath
SolveSystem
Method with 8 overloads
SolveSystem(System.ValueTuple{System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.ValueTuple{System.String,System.String}},System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)
Summary
Solves a given set of arbitrary equationsReturns
A tensor whose width is 9 columns long or null if no solutions were foundExample
The answer has one row per solution and one column per variable, in the order the
variables were named:
var solutions = ("a^2 - 1", "b - 2 * a", "c - 3 * a", "d - 4 * a", "f - 5 * a", "g - 6 * a", "h - 7 * a", "j - 8 * a", "k - 9 * a").SolveSystem("a", "b", "c", "d", "f", "g", "h", "j", "k"); Console.WriteLine(solutions);
Prints
[[1, 2, 3, 4, 5, 6, 7, 8, 9], [-1, -2, -3, -4, -5, -6, -7, -8, -9]]SolveSystem(System.ValueTuple{System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.ValueTuple{System.String}},System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)
Summary
Solves a given set of arbitrary equationsReturns
A tensor whose width is 8 columns long or null if no solutions were foundExample
The answer has one row per solution and one column per variable, in the order the
variables were named:
var solutions = ("a^2 - 1", "b - 2 * a", "c - 3 * a", "d - 4 * a", "f - 5 * a", "g - 6 * a", "h - 7 * a", "j - 8 * a").SolveSystem("a", "b", "c", "d", "f", "g", "h", "j"); Console.WriteLine(solutions);
Prints
[[1, 2, 3, 4, 5, 6, 7, 8], [-1, -2, -3, -4, -5, -6, -7, -8]]SolveSystem(System.ValueTuple{System.String,System.String,System.String,System.String,System.String,System.String,System.String},System.String,System.String,System.String,System.String,System.String,System.String,System.String)
Summary
Solves a given set of arbitrary equationsReturns
A tensor whose width is 7 columns long or null if no solutions were foundExample
The answer has one row per solution and one column per variable, in the order the
variables were named:
var solutions = ("a^2 - 1", "b - 2 * a", "c - 3 * a", "d - 4 * a", "f - 5 * a", "g - 6 * a", "h - 7 * a").SolveSystem("a", "b", "c", "d", "f", "g", "h"); Console.WriteLine(solutions);
Prints
[[1, 2, 3, 4, 5, 6, 7], [-1, -2, -3, -4, -5, -6, -7]]SolveSystem(System.ValueTuple{System.String,System.String,System.String,System.String,System.String,System.String},System.String,System.String,System.String,System.String,System.String,System.String)
Summary
Solves a given set of arbitrary equationsReturns
A tensor whose width is 6 columns long or null if no solutions were foundExample
The answer has one row per solution and one column per variable, in the order the
variables were named:
var solutions = ("a^2 - 1", "b - 2 * a", "c - 3 * a", "d - 4 * a", "f - 5 * a", "g - 6 * a").SolveSystem("a", "b", "c", "d", "f", "g"); Console.WriteLine(solutions);
Prints
[[1, 2, 3, 4, 5, 6], [-1, -2, -3, -4, -5, -6]]SolveSystem(System.ValueTuple{System.String,System.String,System.String,System.String,System.String},System.String,System.String,System.String,System.String,System.String)
Summary
Solves a given set of arbitrary equationsReturns
A tensor whose width is 5 columns long or null if no solutions were foundExample
The answer has one row per solution and one column per variable, in the order the
variables were named:
var solutions = ("a^2 - 1", "b - 2 * a", "c - 3 * a", "d - 4 * a", "f - 5 * a").SolveSystem("a", "b", "c", "d", "f"); Console.WriteLine(solutions);
Prints
[[1, 2, 3, 4, 5], [-1, -2, -3, -4, -5]]SolveSystem(System.ValueTuple{System.String,System.String,System.String,System.String},System.String,System.String,System.String,System.String)
Summary
Solves a given set of arbitrary equationsReturns
A tensor whose width is 4 columns long or null if no solutions were foundExample
The answer has one row per solution and one column per variable, in the order the
variables were named:
var solutions = ("a^2 - 1", "b - 2 * a", "c - 3 * a", "d - 4 * a").SolveSystem("a", "b", "c", "d"); Console.WriteLine(solutions);
Prints
[[1, 2, 3, 4], [-1, -2, -3, -4]]SolveSystem(System.ValueTuple{System.String,System.String,System.String},System.String,System.String,System.String)
Summary
Solves a given set of arbitrary equationsReturns
A tensor whose width is 3 columns long or null if no solutions were foundExample
The answer has one row per solution and one column per variable, in the order the
variables were named:
var solutions = ("a^2 - 1", "b - 2 * a", "c - 3 * a").SolveSystem("a", "b", "c"); Console.WriteLine(solutions);
Prints
[[1, 2, 3], [-1, -2, -3]]SolveSystem(System.ValueTuple{System.String,System.String},System.String,System.String)
Summary
Solves a given set of arbitrary equationsReturns
A tensor whose width is 2 columns long or null if no solutions were foundExample
The answer has one row per solution and one column per variable, in the order the
variables were named:
var solutions = ("a^2 - 1", "b - 2 * a").SolveSystem("a", "b"); Console.WriteLine(solutions);
Prints
[[1, 2], [-1, -2]]
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online