Package gov.nih.mipav.model.algorithms
Class AlgorithmFRAP.IntModel
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.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!
-