Documentation of 'org.jquantlib.math.integrals.SegmentIntegral' Java class
SegmentIntegral
org.jquantlib.math.integrals

Class SegmentIntegral



  • public class SegmentIntegral
    extends Integrator
    Integral of a one-dimensional function

    Given a number of intervals, the integral of a function between and is calculated by means of the trapezoid formula where , , and with .

    • Constructor Detail

      • SegmentIntegral

        public SegmentIntegral(int intervals)
    • Method Detail

      • integrate

        public final double integrate(Ops.DoubleOp f,
                                      double a,
                                      double b)
      • numberOfEvaluations

        public final int numberOfEvaluations()

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.