public class Swap extends Object
| Constructor and Description |
|---|
Swap() |
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.Copyright © 2015. All rights reserved.