org.apache.commons.math3.analysis.integration
Class TrapezoidIntegratorTest

java.lang.Object
  extended by org.apache.commons.math3.analysis.integration.TrapezoidIntegratorTest

public final class TrapezoidIntegratorTest
extends Object

Test case for trapezoid integrator.

Test runs show that for a default relative accuracy of 1E-6, it generally takes 10 to 15 iterations for the integral to converge.

Version:
$Id: TrapezoidIntegratorTest.java 1374632 2012-08-18 18:11:11Z luc $

Constructor Summary
TrapezoidIntegratorTest()
           
 
Method Summary
 void testParameters()
          Test of parameters for the integrator.
 void testQuinticFunction()
          Test of integrator for the quintic function.
 void testSinFunction()
          Test of integrator for the sine function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrapezoidIntegratorTest

public TrapezoidIntegratorTest()
Method Detail

testSinFunction

public void testSinFunction()
Test of integrator for the sine function.


testQuinticFunction

public void testQuinticFunction()
Test of integrator for the quintic function.


testParameters

public void testParameters()
Test of parameters for the integrator.



Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.