Package net.sf.doodleproject.numerics4j.function

Examples of net.sf.doodleproject.numerics4j.function.Function


     * @throws NumericException if the inverse cumulative probability can not be
     *         computed.
     */
    protected double findInverseCumulativeProbability(final double p,
        double lower, double initial, double upper) throws NumericException {
        Function f = new Function() {
            public double evaluate(double x) throws NumericException {
                return cumulativeProbability(x) - p;
            }
        };

View Full Code Here


        } else if (y == -1.0) {
            ret = Double.NEGATIVE_INFINITY;
        } else if (y == 0.0) {
            ret = 0.0;
        } else {
            Function f = new Function() {
                public double evaluate(double x) throws NumericException {
                    return erf(x) - y;
                }
            };
View Full Code Here

TOP

Related Classes of net.sf.doodleproject.numerics4j.function.Function

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.