Package noaa.coastwatch.util
Class MinReduction
java.lang.Object
noaa.coastwatch.util.MinReduction
- All Implemented Interfaces:
ArrayReduction
The
MinReduction reduces an array to a single minimum value.- Since:
- 3.5.0
- Author:
- Peter Hollemans
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbytereduce(byte[] array, int from, int to) doublereduce(double[] array, int from, int to) floatreduce(float[] array, int from, int to) intreduce(int[] array, int from, int to) longreduce(long[] array, int from, int to) shortreduce(short[] array, int from, int to)
-
Constructor Details
-
MinReduction
public MinReduction()
-
-
Method Details
-
reduce
public byte reduce(byte[] array, int from, int to) - Specified by:
reducein interfaceArrayReduction
-
reduce
public short reduce(short[] array, int from, int to) - Specified by:
reducein interfaceArrayReduction
-
reduce
public int reduce(int[] array, int from, int to) - Specified by:
reducein interfaceArrayReduction
-
reduce
public long reduce(long[] array, int from, int to) - Specified by:
reducein interfaceArrayReduction
-
reduce
public float reduce(float[] array, int from, int to) - Specified by:
reducein interfaceArrayReduction
-
reduce
public double reduce(double[] array, int from, int to) - Specified by:
reducein interfaceArrayReduction
-