Package fork.lib.math.applied.stat

Examples of fork.lib.math.applied.stat.Distribution.sum()


    double fac= (double)Math.ceil( d.median() * 1.75);
    new LandscapeTransformer(lb).subtract(fac);
    System.out.println("subfac: "+fac);
   
    Distribution dnz= lb.getDistributionNonZero();
    double nf= dnz.sum()/ 100000000;
    new LandscapeTransformer(lb).divideBy(nf);
    BedGraphExporter be= new BedGraphExporter(lb);
    be.param().tit= tit;
    be.writeToFile(f);
}
View Full Code Here


                    return new double[]{Landscape2DBuffer.getArea(bufs, gr), gr.getRange()+1 };
                }
            };
            Distribution dis= LandscapeScoringResultEntry.toDistribution(ls.getResultEntries(), 0);
            lens.add(LandscapeScoringResultEntry.toDistribution(ls.getResultEntries(), 1).sum());
            double s= dis.sum();
            vs.add(s); sum+=s;
            //LandscapeScoringResultEntry.writeToFile(ls.getResultEntries(), new File(out.getParentFile()+"/file_"+f.getName()) );
        }
    }
    BufferedWriter bw= new BufferedWriter(new FileWriter(out));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.