java.lang.Object
Localiser.algorithms.genericLocaliser.simplex.old.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
Calculate chi2 for different jump locations.
Author:
Jamie Macaulay
  • 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 interface org.apache.commons.math.analysis.MultivariateRealFunction
      Throws:
      org.apache.commons.math.FunctionEvaluationException