Package jmathexpr.arithmetic.op

Examples of jmathexpr.arithmetic.op.Exponentiation.matches()


        if (x.matches(expr) && (degree == null || degree.isOne())) { // x
            return n.matches(Naturals.one());
        } else {
            Exponentiation xn = new Exponentiation(x, n);
           
            if (xn.matches(expr) && (degree == null || degree.equals(n.hit()))) { // x^n
                return true;
            }           
        }
       
        return false;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.