Statistiques
| Révision :

root / www / HPL_dlocmax.html

Historique | Voir | Annoter | Télécharger (2,9 ko)

1
<HTML>
2
<HEAD>
3
<TITLE>HPL_dlocmax HPL 2.0 Library Functions September 10, 2008</TITLE> 
4
</HEAD>
5

    
6
<BODY BGCOLOR="WHITE" TEXT = "#000000" LINK = "#0000ff" VLINK = "#000099"
7
      ALINK = "#ffff00">
8

    
9
<H1>Name</H1>
10
<B>HPL_dlocmax</B> finds the maximum entry in matrix column.
11

    
12
<H1>Synopsis</H1>
13
<CODE>#include "hpl.h"</CODE><BR><BR>
14
<CODE>void</CODE>
15
<CODE>HPL_dlocmax(</CODE>
16
<CODE>HPL_T_panel *</CODE>
17
<CODE>PANEL</CODE>,
18
<CODE>const int</CODE>
19
<CODE>N</CODE>,
20
<CODE>const int</CODE>
21
<CODE>II</CODE>,
22
<CODE>const int</CODE>
23
<CODE>JJ</CODE>,
24
<CODE>double *</CODE>
25
<CODE>WORK</CODE>
26
<CODE>);</CODE>
27

    
28
<H1>Description</H1>
29
<B>HPL_dlocmax</B>
30
finds  the maximum entry in the current column  and packs
31
the useful information in  WORK[0:3].  On exit,  WORK[0] contains the
32
local maximum  absolute value  scalar,  WORK[1] is the  corresponding
33
local row index,  WORK[2]  is the corresponding global row index, and
34
WORK[3] is the coordinate of the process owning this max.  When N  is
35
less than 1, the WORK[0:2] is initialized to zero, and WORK[3] is set
36
to the total number of process rows.
37

    
38
<H1>Arguments</H1>
39
<PRE>
40
PANEL   (local input/output)          HPL_T_panel *
41
        On entry,  PANEL  points to the data structure containing the
42
        panel information.
43
</PRE>
44
<PRE>
45
N       (local input)                 const int
46
        On entry,  N specifies the local number of rows of the column
47
        of A on which we operate.
48
</PRE>
49
<PRE>
50
II      (local input)                 const int
51
        On entry, II  specifies the row offset where the column to be
52
        operated on starts with respect to the panel.
53
</PRE>
54
<PRE>
55
JJ      (local input)                 const int
56
        On entry, JJ  specifies the column offset where the column to
57
        be operated on starts with respect to the panel.
58
</PRE>
59
<PRE>
60
WORK    (local workspace)             double *
61
        On entry, WORK  is  a workarray of size at least 4.  On exit,
62
        WORK[0] contains  the  local  maximum  absolute value scalar,
63
        WORK[1] contains  the corresponding local row index,  WORK[2]
64
        contains the corresponding global row index, and  WORK[3]  is
65
        the coordinate of process owning this max.
66
</PRE>
67

    
68
<H1>See Also</H1>
69
<A HREF="HPL_dlocswpN.html">HPL_dlocswpN</A>,
70
<A HREF="HPL_dlocswpT.html">HPL_dlocswpT</A>,
71
<A HREF="HPL_pdmxswp.html">HPL_pdmxswp</A>,
72
<A HREF="HPL_pdpancrN.html">HPL_pdpancrN</A>,
73
<A HREF="HPL_pdpancrT.html">HPL_pdpancrT</A>,
74
<A HREF="HPL_pdpanllN.html">HPL_pdpanllN</A>,
75
<A HREF="HPL_pdpanllT.html">HPL_pdpanllT</A>,
76
<A HREF="HPL_pdpanrlN.html">HPL_pdpanrlN</A>,
77
<A HREF="HPL_pdpanrlT.html">HPL_pdpanrlT</A>,
78
<A HREF="HPL_pdrpancrN.html">HPL_pdrpancrN</A>,
79
<A HREF="HPL_pdrpancrT.html">HPL_pdrpancrT</A>,
80
<A HREF="HPL_pdrpanllN.html">HPL_pdrpanllN</A>,
81
<A HREF="HPL_pdrpanllT.html">HPL_pdrpanllT</A>,
82
<A HREF="HPL_pdrpanrlN.html">HPL_pdrpanrlN</A>,
83
<A HREF="HPL_pdrpanrlT.html">HPL_pdrpanrlT</A>,
84
<A HREF="HPL_pdfact.html">HPL_pdfact</A>.
85

    
86
</BODY>
87
</HTML>