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 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) invalid input: '&'invalid input: '&' (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 -
Method Summary
-
Constructor Details
-
IntModel
public IntModel()Creates a new IntModel object.
-
-
Method Details
-
intFunc
public double intFunc(double x) DOCUMENT ME!- Parameters:
x- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
eval
public double eval(double x) - Specified by:
evalin interfacede.jtem.numericalMethods.calculus.function.RealFunctionOfOneVariable
-