private Member(Variable v) { this.factor = 1; this.vars = new Variable[] { v }; }
//=========================================================== // 比較演算 //=========================================================== public static int VariableOrderWithoutExp(Variable left, Variable right) { return(left.code - right.code); }
public static int VariableOrder(Variable left, Variable right) { int val = left.code - right.code; return(val != 0?val:left.exp - right.exp); }
public bool IsSameVarname(Variable v) { return(this.code == v.code); }