SuanShu, a Java numerical and statistical library

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

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

public class StandardInterval
extends Substitution

This transformation is for mapping integral region from [a, b] to [-1, 1].

 /b          /1   b-a     1
 | f(x) dx = |   ----- f(---((b-a)t + (a+b))) dt
 /a          /-1   2      2
 


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
StandardInterval(double a, double b)
          Construct an instance of the StandardInterval 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

StandardInterval

public StandardInterval(double a,
                        double b)
Construct an instance of the StandardInterval 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.