Package org.jquantlib.math.interpolations.factories

Examples of org.jquantlib.math.interpolations.factories.Cubic


            final double leftConditionValue,
            final BoundaryCondition rightCondition,
            final double rightConditionValue) {
        super.impl = new AbstractInterpolation.LogInterpolationImpl(
                vx, vy,
                new Cubic(
                        da, monotonic,
                        leftCondition, leftConditionValue,
                        rightCondition, rightConditionValue));
        super.impl.update();
    }
View Full Code Here


      final CommonVars vars = new CommonVars();

      testCurveConsistency(
              ZeroYield.class, Cubic.class, IterativeBootstrap.class,
                      vars,
                      new Cubic(CubicInterpolation.DerivativeApprox.Spline, true,
                                CubicInterpolation.BoundaryCondition.SecondDerivative, 0.0,
                                CubicInterpolation.BoundaryCondition.SecondDerivative, 0.0));
      testBMACurveConsistency(
        ZeroYield.class, Cubic.class, IterativeBootstrap.class,
                      vars,
                      new Cubic(CubicInterpolation.DerivativeApprox.Spline, true,
                                CubicInterpolation.BoundaryCondition.SecondDerivative, 0.0,
                                CubicInterpolation.BoundaryCondition.SecondDerivative, 0.0));
  }
View Full Code Here

      final CommonVars vars = new CommonVars();

      testCurveConsistency(
              ForwardRate.class, Cubic.class, IterativeBootstrap.class,
                      vars,
                      new Cubic(CubicInterpolation.DerivativeApprox.Spline, true,
                           CubicInterpolation.BoundaryCondition.SecondDerivative, 0.0,
                           CubicInterpolation.BoundaryCondition.SecondDerivative, 0.0));
      testBMACurveConsistency(
        ForwardRate.class, Cubic.class, IterativeBootstrap.class,
                vars,
                new Cubic(CubicInterpolation.DerivativeApprox.Spline, true,
                     CubicInterpolation.BoundaryCondition.SecondDerivative, 0.0,
                     CubicInterpolation.BoundaryCondition.SecondDerivative, 0.0));
  }
View Full Code Here

TOP

Related Classes of org.jquantlib.math.interpolations.factories.Cubic

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.