public void AddEquation(EquationClass e)
        {
            if (this.listOfEquations.Count == 0)
            {
                this.width = e.Array.Length;
            }

            if (e.Array.Length != this.width)
            {
                throw new Exception("Invalid equation added, wrong dimensions!");
            }

            this.listOfEquations.Add(e);
        }
 public EquationClass SetEquation(int index, EquationClass e)
 {
     return(listOfEquations[index] = e);
 }
 public void RemoveEquation(EquationClass e)
 {
     this.listOfEquations.Remove(e);
 }