public bool Equal(MathematicaExpression expr2) { if (ReferenceEquals(expr2, null)) { return(false); } return(ToString() == expr2.ToString()); }
public static MathematicaCondition CreateIsDomainMemberTest(MathematicaExpression testedExpr, Expr domainExpr) { var expr = testedExpr.CasInterface[Mfs.Element[testedExpr.MathExpr, domainExpr]]; return(new MathematicaCondition(testedExpr.CasInterface, expr)); }