예제 #1
0
 public void AcceptSolve(SolveStatement stmt)
 {
     throw new NotConvertibleToInlineExpressionException();
 }
예제 #2
0
 public virtual void Solve(EquationSystem eqsys)
 {
     SolveStatement stmt = new SolveStatement()
     {
         EqSys = eqsys
     };
     _cstack.Peek().Statements.Add(stmt);
 }
예제 #3
0
 public void AcceptSolve(SolveStatement stmt)
 {
 }
예제 #4
0
 public void AcceptSolve(SolveStatement stmt)
 {
     stmt.EqSys.CheckConsistency();
 }
예제 #5
0
 public void AcceptSolve(SolveStatement stmt)
 {
     EquationSystem eqs = new EquationSystem();
     foreach (Expression eq in stmt.EqSys.Equations)
         eqs.Equations.Add(SubstExpression(eq));
     stmt.EqSys = eqs;
 }
 public void AcceptSolve(SolveStatement stmt)
 {
     throw new NotImplementedException();
 }
 public override void AcceptSolve(SolveStatement stmt)
 {
     Success = false;
 }
예제 #8
0
 public void AcceptSolve(SolveStatement stmt)
 {
     _tw.WriteLine("-- solve unsupported");
 }