All Downloads are FREE. Search and download functionalities are using the official Maven repository.

umcg.genetica.util.RankArray Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package umcg.genetica.util;

import cern.colt.GenericSorting;
import java.util.HashSet;
import org.apache.commons.collections.primitives.ArrayDoubleList;
import cern.colt.function.tint.IntComparator;
import cern.colt.Swapper;

/**
 *
 * @author harmjan
 */
public class RankArray {
//    public static double[] rank(double[] x){
//        umcg.genetica.util.Rank rank = new umcg.genetica.util.Rank(x, 0d);
//        double[] ranks =  rank.getRanks();
//        double[] returnRanks = new double[ranks.length];
//        for(int i=0; i fixedValues = new HashSet();
        
        for(int i=0; i fixedValues = new HashSet();
        
        for(int i=0; i




© 2015 - 2025 Weber Informatics LLC | Privacy Policy