public class Pivot extends Object
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.
| Constructor and Description |
|---|
Pivot() |
public static Zmat row(Zmat A, int[] pvt) throws JampackException
A - The Zmat (altered)pvt - The pivot arrayJampackException - Thrown for inconsistent dimensions.public static Zmat rowi(Zmat A, int[] pvt) throws JampackException
A - The Zmat (altered)pvt - The pivot arrayJampackException - Thrown for inconsitent dimensions.Copyright © 2015. All rights reserved.