Package jmathexpr.set

Examples of jmathexpr.set.OrderedPair


       
        if (r.isEmpty()) {
            r.put(ZERO, ZERO);
        }
       
        return new OrderedPair(new Polynomial(q, x), new Polynomial(r, x));
    }
View Full Code Here


   
    /**
     * Creates a new LCM object with two arguments.
     */
    public Lcm(Expression a, Expression b) {
        args = new OrderedPair(a, b);
    }
View Full Code Here

            return constant instanceof ANumber && ((ANumber) constant).isZero();
        }

        @Override
        public Expression apply() {
            OrderedPair factor = p.euclideanDivision(Polynomial.create(x, x));
           
            return new Equality(new Multiplication(factor.a(), x), Naturals.zero());
        }
View Full Code Here

TOP

Related Classes of jmathexpr.set.OrderedPair

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.