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

Class TrapezoidIntegral<T extends org.jquantlib.math.integrals.TrapezoidIntegral.IntegrationPolicy>

  • Direct Known Subclasses:
    SimpsonIntegral


    public class TrapezoidIntegral<T extends org.jquantlib.math.integrals.TrapezoidIntegral.IntegrationPolicy>
    extends Integrator
    Integral of a one-dimensional function

    Given a target accuracy , the integral of a function between and is calculated by means of the trapezoid formula where , , and with . The number of intervals is repeatedly increased until the target accuracy is reached. \test the correctness of the result is tested by checking it against known good values.

    • Constructor Detail

      • TrapezoidIntegral

        public TrapezoidIntegral(java.lang.Class<? extends org.jquantlib.math.integrals.TrapezoidIntegral.IntegrationPolicy> klass,
                                 double accuracy,
                                 int maxEvaluations)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.