Package org.timepedia.chronoscope.client.util

Examples of org.timepedia.chronoscope.client.util.ExtremaArrayFunction


public class MipMap {

  private static Interval[] computeExtrema(Array1D[] rangeTuples) {
    Interval[] extrema = new Interval[rangeTuples.length];
    // Assign min/max range-Y values
    ExtremaArrayFunction extremaFn = new ExtremaArrayFunction();
    for (int i = 0; i < extrema.length; i++) {
      Array1D rangeVals = rangeTuples[i];
      rangeVals.execFunction(extremaFn);
      extrema[i] = extremaFn.getExtrema();
    }
    return extrema;
  }
View Full Code Here


    rawData.getDomain().execFunction(minIntervalFn);
    minDomainInterval = minIntervalFn.getMinInterval();

    // Assign min/max range-Y values
    rangeIntervals = new Interval[mipMapChain.getRangeTupleSize()];
    ExtremaArrayFunction extremaFn = new ExtremaArrayFunction();
    for (int i = 0; i < rangeIntervals.length; i++) {
      Array1D rangeVals = rawData.getRange(i);
      rangeVals.execFunction(extremaFn);
      rangeIntervals[i] = extremaFn.getExtrema();
    }
  }
View Full Code Here

TOP

Related Classes of org.timepedia.chronoscope.client.util.ExtremaArrayFunction

Copyright © 2018 www.massapicom. 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.