|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectUtils.Array1D
public class Array1D
Utility class for 1D arrays
Method Summary | |
---|---|
static int[] |
index(double[] a)
Returns indexes from the input array in rank order. |
static int[] |
rank(double[] a)
Returns the rank of each element in an array. |
static void |
writeFile(double[] a,
java.io.File f)
Write an array to a file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int[] index(double[] a)
a
- The input array
public static int[] rank(double[] a)
a
- The input array
public static void writeFile(double[] a, java.io.File f) throws java.io.FileNotFoundException
a
- The arrayf
- The file
java.io.FileNotFoundException
- thrown if this error is encountered while
writing the file.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |