示例#1
0
        public bool Equal(MathematicaExpression expr2)
        {
            if (ReferenceEquals(expr2, null))
            {
                return(false);
            }

            return(ToString() == expr2.ToString());
        }
示例#2
0
        public static MathematicaCondition CreateIsDomainMemberTest(MathematicaExpression testedExpr, Expr domainExpr)
        {
            var expr = testedExpr.CasInterface[Mfs.Element[testedExpr.MathExpr, domainExpr]];

            return(new MathematicaCondition(testedExpr.CasInterface, expr));
        }