Package cern.colt.list

Examples of cern.colt.list.DoubleArrayList.beforeInsert()


@param axis an axis defining interval boundaries.
@param resolution a measure of accuracy; the desired number of subintervals per interval.
*/
public synchronized MightyStaticBin1D[] splitApproximately(hep.aida.IAxis axis, int k) {
  DoubleArrayList percentages = new DoubleArrayList(new hep.aida.ref.Converter().edges(axis));
  percentages.beforeInsert(0,Double.NEGATIVE_INFINITY);
  percentages.add(Double.POSITIVE_INFINITY);
  for (int i=percentages.size(); --i >= 0; ) {
    percentages.set(i, quantileInverse(percentages.get(i)));
  }
 
View Full Code Here


@param axis an axis defining interval boundaries.
@param resolution a measure of accuracy; the desired number of subintervals per interval.
*/
public synchronized MightyStaticBin1D[] splitApproximately(hep.aida.IAxis axis, int k) {
  DoubleArrayList percentages = new DoubleArrayList(new hep.aida.ref.Converter().edges(axis));
  percentages.beforeInsert(0,Double.NEGATIVE_INFINITY);
  percentages.add(Double.POSITIVE_INFINITY);
  for (int i=percentages.size(); --i >= 0; ) {
    percentages.set(i, quantileInverse(percentages.get(i)));
  }
 
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.