SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.analysis.integration.univariate.riemann.substitution
Class Exponential

java.lang.Object
  extended by com.numericalmethod.suanshu.analysis.integration.univariate.riemann.substitution.Substitution
      extended by com.numericalmethod.suanshu.analysis.integration.univariate.riemann.substitution.Exponential

public class Exponential
extends Substitution

This transformation is good for when the upper limit is infinity, and the integrand falls off exponentially. The lower limit is finite.

 /∞          /e^-a             dt
 | f(x) dx = |      f(-log(t))-----
 /a          /0                 t
 

The integrator for this substitution should use an OPEN formula to avoid computing for the end point, where t = 0.


Field Summary
 double a
          the lower limit
 double b
          the upper limit
 
Fields inherited from class com.numericalmethod.suanshu.analysis.integration.univariate.riemann.substitution.Substitution
dx, x
 
Constructor Summary
Exponential(double a, double b)
          Construct an instance of the Exponential substitution rule.
 
Method Summary
 double ta()
          Get the lower limit of the integral.
 double tb()
          Get the upper limit of the integral.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

a

public final double a
the lower limit


b

public final double b
the upper limit

Constructor Detail

Exponential

public Exponential(double a,
                   double b)
Construct an instance of the Exponential substitution rule.

Parameters:
a - the lower limit
b - the upper limit
Method Detail

ta

public double ta()
Description copied from class: Substitution
Get the lower limit of the integral.

Specified by:
ta in class Substitution
Returns:
the lower limit

tb

public double tb()
Description copied from class: Substitution
Get the upper limit of the integral.

Specified by:
tb in class Substitution
Returns:
the upper limit

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.