List of usage examples for java.util.function ToDoubleFunction interface-usage
From source file gedi.core.data.reads.functions.ReadDirichletLikelihoodRatioTest.java
public class ReadDirichletLikelihoodRatioTest implements ToDoubleFunction<AlignedReadsData> { private double[] n; // one number, line by line! public ReadDirichletLikelihoodRatioTest(String path) throws IOException {
From source file gedi.util.math.stat.testing.DirichletLikelihoodRatioTest.java
public class DirichletLikelihoodRatioTest implements ToDoubleFunction<double[]>, UnaryOperator<NumericArray> { private double[] n; // one number, line by line! public void load(String path) throws IOException {
From source file gedi.util.datastructure.array.functions.NumericArrayFunction.java
@FunctionalInterface public interface NumericArrayFunction extends ToDoubleFunction<NumericArray> { public static final NumericArrayFunction GeometricMean = new StorelessUnivariateStatisticAdapter( new GeometricMean()); public static final NumericArrayFunction Kurtosis = new StorelessUnivariateStatisticAdapter(new Kurtosis());