File: dlapmt.l

package info (click to toggle)
lapack 3.0.20000531a-28
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 61,920 kB
  • ctags: 46,200
  • sloc: fortran: 584,835; perl: 8,226; makefile: 2,331; awk: 71; sh: 45
file content (57 lines) | stat: -rwxr-xr-x 1,321 bytes parent folder | download | duplicates (4)
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 DLAPMT l "15 June 2000" "LAPACK version 3.0" ")"
.SH NAME
DLAPMT - 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 DLAPMT(
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
DOUBLE
PRECISION X( LDX, * )
.SH PURPOSE
DLAPMT 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) DOUBLE PRECISION 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.