PLASMA  2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
void CORE_slaswp ( int  N,
float *  A,
int  LDA,
int  I1,
int  I2,
const int *  IPIV,
int  INC 
)

CORE_slaswp performs a series of row interchanges on the matrix A. One row interchange is initiated for each of rows I1 through I2 of A.

Parameters
[in]NThe number of columns in the matrix A. N >= 0.
[in,out]AOn entry, the matrix of column dimension N to which the row interchanges will be applied. On exit, the permuted matrix.
[in]LDAThe leading dimension of the array A. LDA >= max(1,max(IPIV[I1..I2])).
[in]I1The first element of IPIV for which a row interchange will be done.
[in]I2The last element of IPIV for which a row interchange will be done.
[in]IPIVThe pivot indices; Only the element in position i1 to i2 are accessed. The pivot are offset by A.i.
[in]INCThe increment between successive values of IPIV. If IPIV is negative, the pivots are applied in reverse order.