public void JoinEquation(LinearEquationClass LinEq) { if (this.listOfEquations.Count == 0) { this.width = LinEq.Array.Length; } if (LinEq.Array.Length != this.width) { throw new Exception("Invalid equation added, wrong dimensions!"); } this.listOfEquations.Add(LinEq); }
public LinearEquationClass LayoutOfEquation(int index, LinearEquationClass LinEq) { return(listOfEquations[index] = LinEq); }
public void TakeOutEquation(LinearEquationClass LinEq) { this.listOfEquations.Remove(LinEq); }