Package org.jquantlib.math

Examples of org.jquantlib.math.LogGrid


    setMidRows(pd, pm, pu);
  }

  public BSMOperator(final Array grid, final GeneralizedBlackScholesProcess process, final double residualTime) {
    super(grid.size());
    final LogGrid logGrid = new LogGrid(grid);
    final PdeConstantCoeff<PdeBSM> cc = new PdeConstantCoeff<PdeBSM>(
        process, residualTime, process.stateVariable().currentLink().value()){};
    cc.generateOperator(residualTime, logGrid, this);
  }
View Full Code Here


    setMidRows(pd, pm, pu);
  }

  public BSMOperator(final Array grid, final GeneralizedBlackScholesProcess process, final double residualTime) {
    super(grid.size());
    final LogGrid logGrid = new LogGrid(grid);
    final PdeConstantCoeff<PdeBSM> cc = new PdeConstantCoeff<PdeBSM>(
        PdeBSM.class, process, residualTime, process.stateVariable().currentLink().value());
    cc.generateOperator(residualTime, logGrid, this);
  }
View Full Code Here

    return process.drift(t, x);
  }

    @Override
    public TransformedGrid applyGridType(final Array grid) {
        return new LogGrid(grid);
    }
View Full Code Here

TOP

Related Classes of org.jquantlib.math.LogGrid

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.