Пример #1
0
        public static MathematicaCondition operator !=(MathematicaScalar s1, MathematicaScalar s2)
        {
            if (ReferenceEquals(s1, null) || ReferenceEquals(s2, null))
            {
                return(null);
            }

            var e = s1.CasInterface[Mfs.Unequal[s1.MathExpr, s2.MathExpr]];

            return(MathematicaCondition.Create(s1.CasInterface, e));
        }
Пример #2
0
        public static MathematicaCondition operator <=(MathematicaScalar s1, MathematicaScalar s2)
        {
            var e = s1.CasInterface[Mfs.LessEqual[s1.MathExpr, s2.MathExpr]];

            return(MathematicaCondition.Create(s1.CasInterface, e));
        }
Пример #3
0
        public static MathematicaCondition operator <(MathematicaScalar s1, MathematicaScalar s2)
        {
            var e = s1.CasInterface[Mfs.Less[s1.Expression, s2.Expression]];

            return(MathematicaCondition.Create(s1.CasInterface, e));
        }