コード例 #1
0
 public CombinedFormula Prepare(LeftFormula m, bool partial = false)
 {
     CombinedFormula              = new CombinedFormula(m, this, partial);
     CombinedFormula.LeftFormula  = m;
     CombinedFormula.RightFormula = this;
     return(CombinedFormula);
 }
コード例 #2
0
        public Reckoner GetReckoner(Formula f, LeftFormula m)
        {
            CombinedReckoner reckoner = CombineReckoner(f, m);
            Reckoner         ev       = new Reckoner(reckoner.Reckon);

            return(ev);
        }
コード例 #3
0
 public CombinedFormula Prepare(Formula f, LeftFormula m, bool partial = false)
 {
     CombinedFormula              = new CombinedFormula(m, f, partial);
     CombinedFormula.LeftFormula  = m;
     CombinedFormula.RightFormula = f;
     return(CombinedFormula);
 }
コード例 #4
0
 public CombinedFormula(LeftFormula m, Formula e, bool partial = false)
 {
     lexpr        = m;
     expr         = e;
     this.partial = partial;
 }
コード例 #5
0
        public CombinedReckoner CombineReckoner(Formula f, LeftFormula m)
        {
            CombinedReckoner reckoner = Compiler.Compile(new CombinedFormula(m, f));

            return(reckoner);
        }