Class StandardInterval

  • All Implemented Interfaces:
    SubstitutionRule

    public class StandardInterval
    extends Object
    implements SubstitutionRule
    This transformation is for mapping integral region from [a, b] to [-1, 1]. The substitution rule is \[ \int_{a}^{b}f(x)dx = \int_{-1}^{1}\frac{b-a}{2}f(\frac{(b-a)t+(a+b)}{2})dt \]
    • Constructor Detail

      • StandardInterval

        public StandardInterval​(double a,
                                double b)
        Construct a StandardInterval substitution rule.
        Parameters:
        a - the lower limit
        b - the upper limit