|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectUtils.Array2D
public class Array2D
Utility class for 2D arrays
Method Summary | |
---|---|
static double[] |
getColumn(double[][] m,
int c)
Returns a column of the array |
static double[][] |
transpose(double[][] m)
Transposes the array |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static double[][] transpose(double[][] m)
m
- Input array
public static double[] getColumn(double[][] m, int c)
m
- The 2D arrayc
- The index of the column to return
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |