|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjmathlib.toolbox.jmathlib.matrix._private.Jampack.Swap
public class Swap
Swap interchanges rows and columns of a matrix.
| Constructor Summary | |
|---|---|
Swap()
|
|
| Method Summary | |
|---|---|
static void |
cols(Zmat A,
int c1,
int c2)
Interchances two columns of a Zmat (altered). |
static void |
rows(Zmat A,
int r1,
int r2)
Interchances two rows of a Zmat (altered). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Swap()
| Method Detail |
|---|
public static void rows(Zmat A,
int r1,
int r2)
throws JampackException
A - The Zmat (altered)r1 - The index of the first rowr2 - The index of the second row
JampackException - Thrown for inconsistent row indices.
public static void cols(Zmat A,
int c1,
int c2)
throws JampackException
A - The Zmat (altered)c1 - The index of the first columnc2 - The index of the second column
JampackException - Thrown for inconsistent column indices.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||