Package com.macrofocus.molap.subset
Class GenedataDistributionStrategy.Range
- java.lang.Object
-
- com.macrofocus.molap.subset.GenedataDistributionStrategy.Range
-
- Enclosing class:
- GenedataDistributionStrategy<Row,Column,Value>
public static class GenedataDistributionStrategy.Range extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Range(double[] data)
Range(double[][] data)
Range(double[] data, int[] valids)
Range(double min, double max)
Range(GenedataDistributionStrategy.Range roleModel)
Range(GenedataDistributionStrategy.Range[] ranges)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(double value)
GenedataDistributionStrategy.Range
ensureWidth(double width)
double
getClippedValue(double value)
double
getMax()
double
getMin()
double
getRange()
GenedataDistributionStrategy.Range[]
getSubRanges(int count)
GenedataDistributionStrategy.Range
log()
GenedataDistributionStrategy.Range
makeSymmetrical()
GenedataDistributionStrategy.Range
scale(double scale)
void
setMax(double maximum)
void
setMin(double minimum)
double[]
toDoubleArray()
java.lang.String
toString()
void
widen(double[] data)
void
widen(double[] data, int[] valids)
GenedataDistributionStrategy.Range
widenAbsolute(double extent)
GenedataDistributionStrategy.Range
widenRelative(double ratio)
-
-
-
Constructor Detail
-
Range
public Range(double min, double max)
-
Range
public Range(GenedataDistributionStrategy.Range roleModel)
-
Range
public Range(GenedataDistributionStrategy.Range[] ranges)
-
Range
public Range(double[] data)
-
Range
public Range(double[] data, int[] valids)
-
Range
public Range(double[][] data)
-
-
Method Detail
-
getMin
public double getMin()
-
getMax
public double getMax()
-
setMin
public void setMin(double minimum)
-
setMax
public void setMax(double maximum)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getRange
public double getRange()
-
scale
public GenedataDistributionStrategy.Range scale(double scale)
-
log
public GenedataDistributionStrategy.Range log()
-
getSubRanges
public GenedataDistributionStrategy.Range[] getSubRanges(int count)
-
contains
public boolean contains(double value)
-
getClippedValue
public double getClippedValue(double value)
-
makeSymmetrical
public GenedataDistributionStrategy.Range makeSymmetrical()
-
ensureWidth
public GenedataDistributionStrategy.Range ensureWidth(double width)
-
widenAbsolute
public GenedataDistributionStrategy.Range widenAbsolute(double extent)
-
widenRelative
public GenedataDistributionStrategy.Range widenRelative(double ratio)
-
widen
public void widen(double[] data)
-
widen
public void widen(double[] data, int[] valids)
-
toDoubleArray
public double[] toDoubleArray()
-
-