|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.jmat.data.matrixTools.Shuffle
Shuffle algoritm.
| Constructor Summary | |
Shuffle(int n)
Construct a shuffled order. |
|
| Method Summary | |
static double[] |
Array(double[] X)
Return a shuffled array |
int[] |
getOrder()
Get the order of the entire column. |
int |
getOrder(int i)
Get the order of one line. |
static void |
main(java.lang.String[] args)
|
static AbstractMatrix |
MatrixColumns(AbstractMatrix X)
Shuffle columns of a Matrix |
static AbstractMatrix |
MatrixElements(AbstractMatrix X)
Shuffle elements of a Matrix |
static AbstractMatrix |
MatrixRows(AbstractMatrix X)
Shuffle rows of a Matrix |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Shuffle(int n)
n - Size to shuffle.| Method Detail |
public int getOrder(int i)
i - order of the line i.
public int[] getOrder()
public static double[] Array(double[] X)
X - double array
public static AbstractMatrix MatrixRows(AbstractMatrix X)
X - Matrix to shuffle
public static AbstractMatrix MatrixColumns(AbstractMatrix X)
X - Matrix to shuffle
public static AbstractMatrix MatrixElements(AbstractMatrix X)
X - Matrix to shuffle
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||