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

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

public final class SimpsonIntegratorTest
extends Object

Test case for Simpson integrator.

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

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

Constructor Summary
SimpsonIntegratorTest()
           
 
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

SimpsonIntegratorTest

public SimpsonIntegratorTest()
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.