File: clarfgp

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 (69 lines) | stat: -rwxr-xr-x 1,974 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
--- 
:name: clarfgp
:md5sum: 5d0def6a130365d7dc2054a64b3ca16a
:category: :subroutine
:arguments: 
- n: 
    :type: integer
    :intent: input
- alpha: 
    :type: complex
    :intent: input/output
- x: 
    :type: complex
    :intent: input/output
    :dims: 
    - 1+(n-2)*abs(incx)
- incx: 
    :type: integer
    :intent: input
- tau: 
    :type: complex
    :intent: output
:substitutions: {}

:fortran_help: "      SUBROUTINE CLARFGP( N, ALPHA, X, INCX, TAU )\n\n\
  *  Purpose\n\
  *  =======\n\
  *\n\
  *  CLARFGP generates a complex elementary reflector H of order n, such\n\
  *  that\n\
  *\n\
  *        H' * ( alpha ) = ( beta ),   H' * H = I.\n\
  *             (   x   )   (   0  )\n\
  *\n\
  *  where alpha and beta are scalars, beta is real and non-negative, and\n\
  *  x is an (n-1)-element complex vector.  H is represented in the form\n\
  *\n\
  *        H = I - tau * ( 1 ) * ( 1 v' ) ,\n\
  *                      ( v )\n\
  *\n\
  *  where tau is a complex scalar and v is a complex (n-1)-element\n\
  *  vector. Note that H is not hermitian.\n\
  *\n\
  *  If the elements of x are all zero and alpha is real, then tau = 0\n\
  *  and H is taken to be the unit matrix.\n\
  *\n\n\
  *  Arguments\n\
  *  =========\n\
  *\n\
  *  N       (input) INTEGER\n\
  *          The order of the elementary reflector.\n\
  *\n\
  *  ALPHA   (input/output) COMPLEX\n\
  *          On entry, the value alpha.\n\
  *          On exit, it is overwritten with the value beta.\n\
  *\n\
  *  X       (input/output) COMPLEX array, dimension\n\
  *                         (1+(N-2)*abs(INCX))\n\
  *          On entry, the vector x.\n\
  *          On exit, it is overwritten with the vector v.\n\
  *\n\
  *  INCX    (input) INTEGER\n\
  *          The increment between elements of X. INCX > 0.\n\
  *\n\
  *  TAU     (output) COMPLEX\n\
  *          The value tau.\n\
  *\n\n\
  *  =====================================================================\n\
  *\n"