1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
.TH CLAPMT l "15 June 2000" "LAPACK version 3.0" ")"
.SH NAME
CLAPMT - rearrange the columns of the M by N matrix X as specified by the permutation K(1),K(2),...,K(N) of the integers 1,...,N
.SH SYNOPSIS
.TP 19
SUBROUTINE CLAPMT(
FORWRD, M, N, X, LDX, K )
.TP 19
.ti +4
LOGICAL
FORWRD
.TP 19
.ti +4
INTEGER
LDX, M, N
.TP 19
.ti +4
INTEGER
K( * )
.TP 19
.ti +4
COMPLEX
X( LDX, * )
.SH PURPOSE
CLAPMT rearranges the columns of the M by N matrix X as specified by the permutation K(1),K(2),...,K(N) of the integers 1,...,N. If FORWRD = .TRUE., forward permutation:
.br
X(*,K(J)) is moved X(*,J) for J = 1,2,...,N.
.br
If FORWRD = .FALSE., backward permutation:
.br
X(*,J) is moved to X(*,K(J)) for J = 1,2,...,N.
.br
.SH ARGUMENTS
.TP 8
FORWRD (input) LOGICAL
= .TRUE., forward permutation
= .FALSE., backward permutation
.TP 8
M (input) INTEGER
The number of rows of the matrix X. M >= 0.
.TP 8
N (input) INTEGER
The number of columns of the matrix X. N >= 0.
.TP 8
X (input/output) COMPLEX array, dimension (LDX,N)
On entry, the M by N matrix X.
On exit, X contains the permuted matrix X.
.TP 8
LDX (input) INTEGER
The leading dimension of the array X, LDX >= MAX(1,M).
.TP 8
K (input) INTEGER array, dimension (N)
On entry, K contains the permutation vector.
|