Package org.jzy3d.maths.algorithms
Class ScaleFinder
- java.lang.Object
-
- org.jzy3d.maths.algorithms.ScaleFinder
-
public class ScaleFinder extends Object
-
-
Constructor Summary
Constructors Constructor Description ScaleFinder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Scale
getFilteredScale(double[] values, int nVariance)
Apply an outlier remover on input data (OutlierRemover.getInlierValues
) and retrieve the min and max values of the non-rejected values.static Scale
getMinMaxScale(double[] values)
Simply returns the min and max values of the input array into a Scale object.
-
-
-
Method Detail
-
getFilteredScale
public static Scale getFilteredScale(double[] values, int nVariance)
Apply an outlier remover on input data (OutlierRemover.getInlierValues
) and retrieve the min and max values of the non-rejected values.- Parameters:
values
-nVariance
-- Returns:
-
getMinMaxScale
public static Scale getMinMaxScale(double[] values)
Simply returns the min and max values of the input array into a Scale object.- Parameters:
values
-- Returns:
-
-