Package org.jquantlib.methods.finitedifferences

Examples of org.jquantlib.methods.finitedifferences.DZero


        for (i=0; i < x.size(); i++) {
            yd.set(i, normal.derivative(x.get(i)));
        }

        // define the differential operators
        final DZero D = new DZero(N,h);
        final DPlusMinus D2 = new DPlusMinus(N,h);

        // check that the derivative of cum is Gaussian
        temp = D.applyTo(yi);
        for (i=0; i < y.size(); i++) {
            diff.set(i, y.get(i) - temp.get(i));
        }

        double e = Utilities.norm(diff, h);
View Full Code Here

TOP

Related Classes of org.jquantlib.methods.finitedifferences.DZero

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.