Esempio n. 1
0
 private void ParseExpression(string fromExpression)
 {
     this.expression  = fromExpression;
     this.variable    = parser.ExtractVariable(fromExpression);
     this.coefficient = parser.ExtractCoefficient(fromExpression);
     if (variable.Length > 0)
     {
         this.exponent = parser.ExtractExponent(fromExpression);
     }
     else
     {
         this.exponent = null;
     }
 }