Class IntegratorRepeated2D

    • Constructor Detail

      • IntegratorRepeated2D

        public IntegratorRepeated2D​(Integrator1D<Double,​Double> integrator1D)
        Constructor.
        Parameters:
        integrator1D - the 1-D integrator to be used for each repeated integral
    • Method Detail

      • integrate

        public Double integrate​(BiFunction<Double,​Double,​Double> f,
                                Double[] lower,
                                Double[] upper)
        Parameters:
        f - The function to be integrated, not null
        lower - The array of lower bounds of integration, not null or empty
        upper - The array of upper bounds of integration, not null or empty
        Returns:
        The result of the integral