/// <summary>
 /// 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.
 /// </summary>
 /// <param name="vars">
 /// Number of variables must match number of equations
 /// </param>
 /// <returns></returns>
 public Tensor Solve(params VariableEntity[] vars)
 => EquationSolver.SolveSystem(equations, vars.ToList());
Example #2
0
 public static Tensor Solve(List <Entity> equations, List <VariableEntity> vars)
 => EquationSolver.SolveSystem(equations, vars);