All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.netlib.lapack.DLASWP

java.lang.Object
   |
   +----org.netlib.lapack.DLASWP

public class DLASWP
extends Object
DLASWP is a simplified interface to the JLAPACK routine dlaswp.
This interface converts Java-style 2D row-major arrays into
the 1D column-major linearized arrays expected by the lower
level JLAPACK routines.  Using this interface also allows you
to omit offset and leading dimension arguments.  However, because
of these conversions, these routines will be slower than the low
level ones.  Following is the description from the original Fortran
source.  Contact seymour@cs.utk.edu with any questions.

* .. * * Purpose * ======= * * DLASWP performs a series of row interchanges on the matrix A. * One row interchange is initiated for each of rows K1 through K2 of A. * * Arguments * ========= * * N (input) INTEGER * The number of columns of the matrix A. * * A (input/output) DOUBLE PRECISION array, dimension (LDA,N) * On entry, the matrix of column dimension N to which the row * interchanges will be applied. * On exit, the permuted matrix. * * LDA (input) INTEGER * The leading dimension of the array A. * * K1 (input) INTEGER * The first element of IPIV for which a row interchange will * be done. * * K2 (input) INTEGER * The last element of IPIV for which a row interchange will * be done. * * IPIV (input) INTEGER array, dimension (M*abs(INCX)) * The vector of pivot indices. Only the elements in positions * K1 through K2 of IPIV are accessed. * IPIV(K) = L implies rows K and L are to be interchanged. * * INCX (input) INTEGER * The increment between successive values of IPIV. If IPIV * is negative, the pivots are applied in reverse order. * * ===================================================================== * * .. Local Scalars ..


Constructor Index

 o DLASWP()

Method Index

 o DLASWP(int, double[][], int, int, int[], int)

Constructors

 o DLASWP
 public DLASWP()

Methods

 o DLASWP
 public static void DLASWP(int n,
                           double a[][],
                           int k1,
                           int k2,
                           int ipiv[],
                           int incx)

All Packages  Class Hierarchy  This Package  Previous  Next  Index