DragonFly On-Line Manual Pages
HPL_dlaswp04N(3) HPL Library Functions HPL_dlaswp04N(3)
NAME
HPL_dlaswp04N - copy rows of U in A and replace them with columns of W.
SYNOPSIS
#include "hpl.h"
void HPL_dlaswp04N( const int M0, const int M1, const int N, double *
U, const int LDU, double * A, const int LDA, const double * W0, const
double * W, const int LDW, const int * LINDXA, const int * LINDXAU );
DESCRIPTION
HPL_dlaswp04N copies M0 rows of U into A and replaces those rows of U
with columns of W. In addition M1 - M0 columns of W are copied into
rows of U.
ARGUMENTS
M0 (local input) const int
On entry, M0 specifies the number of rows of U that should be
copied into A and replaced by columns of W. M0 must be at
least zero.
M1 (local input) const int
On entry, M1 specifies the number of columns of W that should
be copied into rows of U. M1 must be at least zero.
N (local input) const int
On entry, N specifies the length of the rows of U that should
be copied into A. N must be at least zero.
U (local input/output) double *
On entry, U points to an array of dimension (LDU,N). This
array contains the rows that are to be copied into A.
LDU (local input) const int
On entry, LDU specifies the leading dimension of the array U.
LDU must be at least MAX(1,M1).
A (local output) double *
On entry, A points to an array of dimension (LDA,N). On exit,
the rows of this array specified by LINDXA are replaced by
rows of U indicated by LINDXAU.
LDA (local input) const int
On entry, LDA specifies the leading dimension of the array A.
LDA must be at least MAX(1,M0).
W0 (local input) const double *
On entry, W0 is an array of size (M-1)*LDW+1, that contains
the destination offset in U where the columns of W should be
copied.
W (local input) const double *
On entry, W is an array of size (LDW,M0+M1), that contains
data to be copied into U. For i in [M0..M0+M1), the entries
W(:,i) are copied into the row W0(i*LDW) of U.
LDW (local input) const int
On entry, LDW specifies the leading dimension of the array W.
LDW must be at least MAX(1,N+1).
LINDXA (local input) const int *
On entry, LINDXA is an array of dimension M0 containing the
local row indexes A into which rows of U are copied.
LINDXAU (local input) const int *
On entry, LINDXAU is an array of dimension M0 that contains
the local row indexes of U that should be copied into A and
replaced by the columns of W.
SEE ALSO
HPL_dlaswp00N (3), HPL_dlaswp10N (3), HPL_dlaswp01N (3),
HPL_dlaswp01T (3), HPL_dlaswp02N (3), HPL_dlaswp03N (3),
HPL_dlaswp03T (3), HPL_dlaswp04N (3), HPL_dlaswp04T (3),
HPL_dlaswp05N (3), HPL_dlaswp05T (3), HPL_dlaswp06N (3),
HPL_dlaswp06T (3).
HPL 2.1 October 26, 2012 HPL_dlaswp04N(3)