| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdk.dmi.jog.MiscArrays
Static methods for various array operations.
 Missing values must be represented by Float.NaN.
| Method Summary | |
| static List | asList(float[] f)Returns a fixed-size list backed by the specified array. | 
| static List | asList(float[][][][] f)Returns a fixed-size list backed by the specified array. | 
| static float[] | interpolateCenteredLinear(float[] a)Returns a version of the argument array with missing values interpolated using a centered linear interpolation. | 
| static float[] | interpolateLeftLinear(float[] a)Returns a version of the argument array with missing values interpolated using a one-sided linear interpolation. | 
| static float[][][][] | mask(float[][][][] d,
     boolean[][][][] m)Returns a 4-dimensional float array identical to the first argument but with data values set to Float.NaNwhere the second argument isfalse | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
public static List asList(float[] f)
f - the array by which the list will be backed.
public static List asList(float[][][][] f)
f - the array by which the list will be backed.
public static float[] interpolateCenteredLinear(float[] a)
a - array to be interpolated.
public static float[] interpolateLeftLinear(float[] a)
a - array to be interpolated.
public static float[][][][] mask(float[][][][] d,
                                 boolean[][][][] m)
Float.NaN where the second argument is false
d - input data.m - input mask.
false| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||