All Packages Class Hierarchy This Package Previous Next Index
Class Jampack.Pivot
java.lang.Object
|
+----Jampack.Pivot
- public class Pivot
- extends Object
Pivot applys a sequence of pivot operations to the
rows of a matrix. The pivot sequence is contained
in an integer array pvt[], which determines a permution
as follows:
for (k=0; k<pvt.length; k++)
swap k and pvt[k];
Both k and pvt[k] represent zero-based references
to the rows of the matrix.
Pivot also has a method to apply the inverse permutation.
Comments: Column pivoting will be added later.
-
Pivot()
-
-
row(Zmat, int[])
- Pivots the rows of a Zmat (altered) as specified by a pivot array.
-
rowi(Zmat, int[])
- Pivots the rows of a Zmat (altered) as in the inverse order specified
by a pivot array.
Pivot
public Pivot()
row
public static Zmat row(Zmat A,
int pvt[]) throws JampackException
- Pivots the rows of a Zmat (altered) as specified by a pivot array.
- Parameters:
- A - The Zmat (altered)
- pvt - The pivot array
- Returns:
- The Zmat A with its rows permuted
- Throws: JampackException
- Thrown for inconsistent dimensions.
rowi
public static Zmat rowi(Zmat A,
int pvt[]) throws JampackException
- Pivots the rows of a Zmat (altered) as in the inverse order specified
by a pivot array.
- Parameters:
- A - The Zmat (altered)
- pvt - The pivot array
- Returns:
- The Zmat A with its rows permuted
- Throws: JampackException
- Thrown for inconsitent dimensions.
All Packages Class Hierarchy This Package Previous Next Index