File: dlapmr

package info (click to toggle)
ruby-lapack 1.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 28,552 kB
  • sloc: ansic: 191,612; ruby: 3,934; makefile: 8
file content (73 lines) | stat: -rwxr-xr-x 2,069 bytes parent folder | download | duplicates (5)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
--- 
:name: dlapmr
:md5sum: b24c98083dc638c7e586e2e99b4a3ff4
:category: :subroutine
:arguments: 
- forwrd: 
    :type: logical
    :intent: input
- m: 
    :type: integer
    :intent: input
- n: 
    :type: integer
    :intent: input
- x: 
    :type: doublereal
    :intent: input/output
    :dims: 
    - ldx
    - n
- ldx: 
    :type: integer
    :intent: input
- k: 
    :type: integer
    :intent: input/output
    :dims: 
    - m
:substitutions: {}

:fortran_help: "      SUBROUTINE DLAPMR( FORWRD, M, N, X, LDX, K )\n\n\
  *  Purpose\n\
  *  =======\n\
  *\n\
  *  DLAPMR rearranges the rows of the M by N matrix X as specified\n\
  *  by the permutation K(1),K(2),...,K(M) of the integers 1,...,M.\n\
  *  If FORWRD = .TRUE.,  forward permutation:\n\
  *\n\
  *       X(K(I),*) is moved X(I,*) for I = 1,2,...,M.\n\
  *\n\
  *  If FORWRD = .FALSE., backward permutation:\n\
  *\n\
  *       X(I,*) is moved to X(K(I),*) for I = 1,2,...,M.\n\
  *\n\n\
  *  Arguments\n\
  *  =========\n\
  *\n\
  *  FORWRD  (input) LOGICAL\n\
  *          = .TRUE., forward permutation\n\
  *          = .FALSE., backward permutation\n\
  *\n\
  *  M       (input) INTEGER\n\
  *          The number of rows of the matrix X. M >= 0.\n\
  *\n\
  *  N       (input) INTEGER\n\
  *          The number of columns of the matrix X. N >= 0.\n\
  *\n\
  *  X       (input/output) DOUBLE PRECISION array, dimension (LDX,N)\n\
  *          On entry, the M by N matrix X.\n\
  *          On exit, X contains the permuted matrix X.\n\
  *\n\
  *  LDX     (input) INTEGER\n\
  *          The leading dimension of the array X, LDX >= MAX(1,M).\n\
  *\n\
  *  K       (input/output) INTEGER array, dimension (M)\n\
  *          On entry, K contains the permutation vector. K is used as\n\
  *          internal workspace, but reset to its original value on\n\
  *          output.\n\
  *\n\n\
  *  =====================================================================\n\
  *\n\
  *     .. Local Scalars ..\n      INTEGER            I, IN, J, JJ\n      DOUBLE PRECISION   TEMP\n\
  *     ..\n"