Exemple #1
0
 public Expr Times(Expr e)
 {
     return(new BinaryOpExpr(this, e, new Times()));
 }
Exemple #2
0
 public BinaryOpExpr(Expr a, Expr b, BinaryOp op)
 {
     this.a  = a;
     this.b  = b;
     this.op = op;
 }
Exemple #3
0
 public Expr Plus(Expr e)
 {
     return(new BinaryOpExpr(this, e, new Plus()));
 }
Exemple #4
0
 public void Assign(Expr e)
 {
     for (int i = D(0); i < data.Length; i++)
         data[i] = e.Get(i);
 }
Exemple #5
0
 public Expr Times(Expr e)
 {
     return new BinaryOpExpr(this, e, new Times());
 }
Exemple #6
0
 public Expr Plus(Expr e)
 {
     return new BinaryOpExpr(this, e, new Plus());
 }
Exemple #7
0
 public BinaryOpExpr(Expr a, Expr b, BinaryOp op)
 {
     this.a = a;
     this.b = b;
     this.op = op;
 }