public class Swap extends Object
Constructor and Description |
---|
Swap() |
Modifier and Type | Method and Description |
---|---|
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).
|
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 rowJampackException
- 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 columnJampackException
- Thrown for inconsistent column indices.Jas4pp 1.5 © Java Analysis Studio for Particle Physics