Example usage for org.apache.commons.math3.analysis UnivariateFunction interface-usage

List of usage examples for org.apache.commons.math3.analysis UnivariateFunction interface-usage

Introduction

In this page you can find the example usage for org.apache.commons.math3.analysis UnivariateFunction interface-usage.

Usage

From source file com.itemanalysis.psychometrics.polycor.PolychoricLogLikelihoodTwoStep.java

/**
 * LogLikelihood and other methods needed for computing the two-step
 * approximation of the polychoric correlation.
 *
 * @author J. Patrick Meyer <meyerjp at itemanalysis.com>
 */

From source file org.grouplens.samantha.modeler.featurizer.SelfPlusOneRatioFunction.java

public class SelfPlusOneRatioFunction implements UnivariateFunction {

    public double value(double val) {
        return val / (1.0 + abs(val));
    }
}

From source file com.colofabrix.mathparser.lib.Expression2AMLAdapter.java

/**
 * This class is used to interface with the Apache Math Library
 * 
 * @author Fabrizio Colonna
 */
public class Expression2AMLAdapter implements UnivariateFunction {

From source file com.itemanalysis.psychometrics.kernel.LeastSquaresCrossValidation.java

/**
 * A class for computing the bandwidth by least squares cross validation kernel. This clas
 * is still in development. It needs more work and testing. Not ready for use.
 *
 **/
public class LeastSquaresCrossValidation implements Bandwidth, UnivariateFunction {

From source file com.google.cloud.genomics.dataflow.functions.verifybamid.LikelihoodFn.java

/**
 * Implementation of the likelihood function in equation (2) in
 * G. Jun, M. Flickinger, K. N. Hetrick, Kurt, J. M. Romm, K. F. Doheny,
 * G. Abecasis, M. Boehnke,and H. M. Kang, Detecting and Estimating
 * Contamination of Human DNA Samples in Sequencing and Array-Based Genotype
 * Data, American journal of human genetics doi:10.1016/j.ajhg.2012.09.004

From source file com.google.cloud.genomics.dataflow.functions.LikelihoodFn.java

/**
 * Implementation of the likelihood function in equation (2) in
 * G. Jun, M. Flickinger, K. N. Hetrick, Kurt, J. M. Romm, K. F. Doheny,
 * G. Abecasis, M. Boehnke,and H. M. Kang, Detecting and Estimating
 * Contamination of Human DNA Samples in Sequencing and Array-Based Genotype
 * Data, American journal of human genetics doi:10.1016/j.ajhg.2012.09.004

From source file de.bund.bfr.math.LinearFunction.java

public class LinearFunction implements UnivariateFunction {

    private final double[] abscissa;
    private final double[] ordinate;

    public LinearFunction(double[] x, double[] y) throws NullArgumentException, NoDataException,

From source file beast.evolution.coalescent.DemographicFunction.java

/**
 * This interface provides methods that describe a demographic function.
 *
 * Parts of this class were derived from C++ code provided by Oliver Pybus.
 *
 * @version $Id: DemographicFunction.java,v 1.12 2005/05/24 20:25:55 rambaut Exp $

From source file edu.ucsf.valelab.saim.calculations.SaimFunction.java

/**
 *
 * @author nico
 */
public class SaimFunction implements UnivariateFunction, ParametricUnivariateFunction {
    protected SaimData sd_;

From source file com.itemanalysis.psychometrics.irt.equating.HaebaraMethod.java

public class HaebaraMethod extends AbstractMultivariateFunction
        implements LinearTransformation, Uncmin_methods, UnivariateFunction {

    private HashMap<String, ItemResponseModel> itemFormX = null;
    private HashMap<String, ItemResponseModel> itemFormY = null;
    private DistributionApproximation xDistribution = null;