Class AlgorithmFRAP.IntModel

  • All Implemented Interfaces:
    de.jtem.numericalMethods.calculus.function.RealFunctionOfOneVariable
    Enclosing class:
    AlgorithmFRAP

    class AlgorithmFRAP.IntModel
    extends java.lang.Object
    implements de.jtem.numericalMethods.calculus.function.RealFunctionOfOneVariable
    class IntModel extends Integration { public IntModel(double lower, double upper, int routine, double eps) { super(lower, upper, routine, eps); } public double intFunc(double x) { double function = 0.0; if ((x != 1.0/7.0) && (x != 2.0/3.0)) { function = Math.pow(Math.abs(x - 1.0/7.0), -0.25) * Math.pow(Math.abs(x - 2.0/3.0), -0.55); } return function; } public void driver() { super.driver(); } }.
    • Constructor Summary

      Constructors 
      Constructor Description
      IntModel()
      Creates a new IntModel object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double eval​(double x)  
      double intFunc​(double x)
      DOCUMENT ME!
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IntModel

        public IntModel()
        Creates a new IntModel object.
    • Method Detail

      • intFunc

        public double intFunc​(double x)
        DOCUMENT ME!
        Parameters:
        x - DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • eval

        public double eval​(double x)
        Specified by:
        eval in interface de.jtem.numericalMethods.calculus.function.RealFunctionOfOneVariable