EquityDividendsCurvesBundle { public Function1D<Double, Double> getD() { return _d; } EquityDividendsCurvesBundle(final double spot, final YieldAndDiscountCurve discountCurve, final AffineDividends dividends); Function1D<Double, Double> getF(); Function1D<Double, Double> getR(); Function1D<Double, Double> getD(); double getF(final double t); double getR(final double t); double getD(final double t); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void discountDividendDropTest() { final double eps = 1e-15; final int n = TAU.length; for (int i = 0; i < n; i++) { double dm = DIV_CURVES.getD(TAU[i] - eps); double d = DIV_CURVES.getD(TAU[i]); double dExpected = dm * (1 - BETA[i]) - ALPHA[i]; assertEquals(dExpected, d, 1e-12); } }