public BaseVectorOperation(Operator op, Vector left, Vector right)
 {
     if (!op.IsVectorOperator) throw new InvalidOperationException();
     this.Operator = op;
     this.LeftTerm = left;
     this.RightTerm = right;
 }
Пример #2
0
 public BaseOperation(Operator op, Expression unaryTerm)
 {
     if (!op.IsUnary) throw new InvalidOperationException();
     this.Operator = op;
     this.LeftTerm = unaryTerm;
 }
Пример #3
0
 public BaseOperation(Operator op, Expression left, Expression right)
 {
     this.Operator = op;
     this.LeftTerm = left;
     this.RightTerm = right;
 }
 public BaseVectorOperation(Operator op, Vector unaryTerm)
 {
     if (!op.IsUnary || !op.IsVectorOperator) throw new InvalidOperationException();
     this.Operator = op;
     this.LeftTerm = unaryTerm;
 }