public bool Equals(Term other) => SignedCoefficient.Equals(other.SignedCoefficient) && ((this.Constant && other.Constant) || (!this.Constant && !other.Constant && this.Variable.Value.Equals(other.Variable.Value)));
public override string ToString() { return(Variable.HasValue ? string.Format("{0}{1}", SignedCoefficient.ToString(), Variable) : string.Format("{0}", SignedCoefficient.ToString())); }