Class Simplex.Chi2
java.lang.Object
Localiser.algorithms.genericLocaliser.simplex.Simplex.Chi2
- All Implemented Interfaces:
org.apache.commons.math.analysis.MultivariateRealFunction
- Enclosing class:
Simplex
public class Simplex.Chi2
extends Object
implements org.apache.commons.math.analysis.MultivariateRealFunction
Wrapper for the Simplex minimisation function.
- Author:
- Jamie Macaulay
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
logLikelihood
(double[] location) double
value
(double[] location)
-
Constructor Details
-
Chi2
public Chi2()
-
-
Method Details
-
logLikelihood
public double logLikelihood(double[] location) throws org.apache.commons.math.FunctionEvaluationException, IllegalArgumentException - Throws:
org.apache.commons.math.FunctionEvaluationException
IllegalArgumentException
-
value
public double value(double[] location) throws org.apache.commons.math.FunctionEvaluationException - Specified by:
value
in interfaceorg.apache.commons.math.analysis.MultivariateRealFunction
- Throws:
org.apache.commons.math.FunctionEvaluationException
-