File: izmax1

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 (55 lines) | stat: -rwxr-xr-x 1,597 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
--- 
:name: izmax1
:md5sum: 9594df1850d6464cd15f4e4b7161a5fa
:category: :function
:type: integer
:arguments: 
- n: 
    :type: integer
    :intent: input
- cx: 
    :type: doublecomplex
    :intent: input
    :dims: 
    - n
- incx: 
    :type: integer
    :intent: input
:substitutions: {}

:fortran_help: "      INTEGER          FUNCTION IZMAX1( N, CX, INCX )\n\n\
  *  Purpose\n\
  *  =======\n\
  *\n\
  *  IZMAX1 finds the index of the element whose real part has maximum\n\
  *  absolute value.\n\
  *\n\
  *  Based on IZAMAX from Level 1 BLAS.\n\
  *  The change is to use the 'genuine' absolute value.\n\
  *\n\
  *  Contributed by Nick Higham for use with ZLACON.\n\
  *\n\n\
  *  Arguments\n\
  *  =========\n\
  *\n\
  *  N       (input) INTEGER\n\
  *          The number of elements in the vector CX.\n\
  *\n\
  *  CX      (input) COMPLEX*16 array, dimension (N)\n\
  *          The vector whose elements will be summed.\n\
  *\n\
  *  INCX    (input) INTEGER\n\
  *          The spacing between successive values of CX.  INCX >= 1.\n\
  *\n\n\
  * =====================================================================\n\
  *\n\
  *     .. Local Scalars ..\n      INTEGER            I, IX\n      DOUBLE PRECISION   SMAX\n      COMPLEX*16         ZDUM\n\
  *     ..\n\
  *     .. Intrinsic Functions ..\n      INTRINSIC          ABS\n\
  *     ..\n\
  *     .. Statement Functions ..\n      DOUBLE PRECISION   CABS1\n\
  *     ..\n\
  *     .. Statement Function definitions ..\n\
  *\n\
  *     NEXT LINE IS THE ONLY MODIFICATION.\n      CABS1( ZDUM ) = ABS( ZDUM )\n\
  *     ..\n"