Exemplo n.º 1
0
 public void AddEqnCoef(string variable, EqnCoef eqnCoef)
 {
     if (eqnCoefs != null)
     {
         if (eqnCoefs.ContainsKey(variable))
         {
             eqnCoefs[variable] = eqnCoef;
         }
         else
         {
             eqnCoefs.Add(variable, eqnCoef);
         }
     }
 }
Exemplo n.º 2
0
 public EqnCoef(EqnCoef toCopy)
 {
     this.rawText = toCopy.rawText;
     this.tokens  = new List <string>(toCopy.tokens);
 }
Exemplo n.º 3
0
    public void AddEqnCoef(string variable, List <string> tokens)
    {
        EqnCoef x = new EqnCoef(tokens);

        AddEqnCoef(variable, x);
    }