Package org.jquantlib.methods.finitedifferences

Examples of org.jquantlib.methods.finitedifferences.StandardSystemFiniteDifferenceModel.rollback()


        conditionSet.push_back(stepCondition);
        conditionSet.push_back(new NullCondition<Array>());

        final StandardSystemFiniteDifferenceModel model = new StandardSystemFiniteDifferenceModel(operatorSet, bcSet);
        arraySet = model.rollback(arraySet, getResidualTime(),0.0, timeSteps, conditionSet);

        //TODO: code review: Verify use clone()
        prices.setValues(arraySet.get(0).clone());
        controlPrices.setValues(arraySet.get(1).clone());
View Full Code Here


        conditionSet.push_back(stepCondition);
        conditionSet.push_back(new NullCondition<Array>());

        final StandardSystemFiniteDifferenceModel model = new StandardSystemFiniteDifferenceModel(operatorSet, bcSet);
        arraySet = model.rollback(arraySet, getResidualTime(),0.0, timeSteps, conditionSet);

        //TODO: code review: Verify use clone()
        prices.setValues(arraySet.get(0).clone());
        controlPrices.setValues(arraySet.get(1).clone());
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.