SuanShu, a Java numerical and statistical library

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

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

public class NoChangeOfVariable
extends Substitution

This is a dummy substitution rule that does not change any variable. This is mainly for testing purpose.

We have,

 /b          /b
 | f(x) dx = | f(t) dt
 /a          /a
 


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

NoChangeOfVariable

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