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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<!--Converted with LaTeX2HTML 96.1-h (September 30, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
<HTML>
<HEAD>
<TITLE>Argument Descriptions for Band and Tridiagonal Routines</TITLE>
<META NAME="description" CONTENT="Argument Descriptions for Band and Tridiagonal Routines">
<META NAME="keywords" CONTENT="slug">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<LINK REL=STYLESHEET HREF="slug.css">
</HEAD>
<BODY LANG="EN" >
<A NAME="tex2html3284" HREF="node89.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="http://www.netlib.org/utk/icons/next_motif.gif"></A> <A NAME="tex2html3282" HREF="node81.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="http://www.netlib.org/utk/icons/up_motif.gif"></A> <A NAME="tex2html3276" HREF="node87.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="http://www.netlib.org/utk/icons/previous_motif.gif"></A> <A NAME="tex2html3286" HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="http://www.netlib.org/utk/icons/contents_motif.gif"></A> <A NAME="tex2html3287" HREF="node190.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="http://www.netlib.org/utk/icons/index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME="tex2html3285" HREF="node89.html">Matrix Storage Conventions for </A>
<B>Up:</B> <A NAME="tex2html3283" HREF="node81.html">In-Core Narrow Band and </A>
<B> Previous:</B> <A NAME="tex2html3277" HREF="node87.html">Array Descriptor for the </A>
<BR> <P>
<H2><A NAME="SECTION04447000000000000000">Argument Descriptions for Band and Tridiagonal Routines</A></H2>
<P>
<A NAME="secargdescband"> </A>
<A NAME="3233"> </A>
<A NAME="3234"> </A>
<A NAME="3235"> </A>
<A NAME="3236"> </A>
<A NAME="3237"> </A>
<P>
All ScaLAPACK narrow band and
tridiagonal routines assume
that the global matrices are
distributed in a one-dimensional
block data distribution. Thus,
each process has at most one
block of data. With selective
choices for the block size
NB_ and the order N_ of
the global matrix, it is
possible that some processes
in the process grid may not
receive any data, or the last
process receiving data will
receive a smaller block of
data than the other processes.
<P>
For further information on
one-dimensional block-column
or block-row data distribution,
please refer to section <A HREF="node82.html#sec1dbd">4.4.1</A>.
<P>
The description of a block-column
distributed band matrix consists
of <TT>(N, A, JA, DESCA)</TT>
<UL>
<LI> the order <TT>N</TT> of the band matrix operand,
<LI> a pointer to the local array containing the
entire global array (<TT>A</TT>, for example),
<LI> the column index, <TT>JA</TT>, of the global array, and
<LI> the array descriptor, <TT>DESCA</TT>, of the global array.
</UL>
<P>
The description of a block-row
distributed right-hand-side matrix
consists of <TT>(NRHS, B, IB, DESCB)</TT>
<UL>
<LI> the number of right-hand-side vectors <TT>NRHS</TT> in the matrix,
<LI> a pointer to the local array containing the
entire global array (<TT>B</TT>, for example),
<LI> the row index, <TT>IB</TT>, of the global array, and
<LI> the array descriptor, <TT>DESCB</TT>, for the global array.
</UL>
<P>
The description of a block-distributed
diagonally dominant-like tridiagonal
matrix consists of <TT>(N, DL, D, DU, JA, DESCA)</TT>
<UL>
<LI> the order <TT>N</TT> of the tridiagonal matrix operand,
<LI> pointer to the local arrays, (<TT>DL, D, DU</TT>, for example),
<LI> the column index, <TT>JA</TT>, of the global array, and
<LI> the array descriptor, <TT>DESCA</TT>, for the global array.
</UL>
<P>
The description of a block-distributed
symmetric positive definite tridiagonal
matrix consists of <TT>(N, D, E, JA, DESCA)</TT>
<UL>
<LI> the order <TT>N</TT> of the tridiagonal matrix operand,
<LI> pointer to the local arrays, (<TT>D, E</TT>, for example),
<LI> the column index, <TT>JA</TT>, of the global array,
<LI> the array descriptor, <TT>DESCA</TT>, for the global array.
</UL>
<P>
The name of the row or column index
for the global array has the form
I<array_name><A NAME="3267"> </A> or
J<array_name><A NAME="3268"> </A>,
respectively. The array descriptor
has a name of the form DESC<array_name><A NAME="3269"> </A>.
<A NAME="3270"> </A><A NAME="3271"> </A>
The length of the array descriptor is
specified by DLEN_ and varies according
to the descriptor type DTYPE_.
<P>
Included in the leading comments of each
subroutine (immediately preceding the Argument
section), is a brief note describing the
<B>array descriptor</B><A NAME="3273"> </A><A NAME="3274"> </A><A NAME="3275"> </A> and some commonly used expressions in
calculating workspace.
<P>
The style of the argument<A NAME="3276"> </A>
descriptions for symmetric positive
definite narrow band routines (PxPByyy)
and diagonally dominant-like narrow band
routines (PxDByyy) is illustrated by the
following example:
<P>
<UL>
<DT>N
<DD> (global input) INTEGER <BR>
The number of rows and columns of the matrix A(JA:JA+N-1,JA:JA+N-1)
on which to be operated. N <IMG WIDTH=11 HEIGHT=24 ALIGN=MIDDLE ALT="tex2html_wrap_inline14966" SRC="img308.gif"> 0.
<DT>NRHS
<DD> (global input) INTEGER <BR>
The number of right hand sides, i.e., the number of columns
of the matrix B(IB:IB+N-1,*). NRHS <IMG WIDTH=11 HEIGHT=24 ALIGN=MIDDLE ALT="tex2html_wrap_inline14966" SRC="img308.gif"> 0.
<DT>A
<DD> (local input/local output) REAL pointer into the local
memory to an array of local dimension (LLD_A, LOC<IMG WIDTH=6 HEIGHT=7 ALIGN=MIDDLE ALT="tex2html_wrap_inline12114" SRC="img16.gif">(JA+N-1)) <BR>
On entry, the local part of the N-by-N global symmetric band matrix
A(JA:JA+N-1,JA:JA+N-1).
<DT>JA
<DD> (global input) INTEGER <BR>
The column index of the global matrix A.
<DT>DESCA
<DD> (global and local input) INTEGER array of dimension DLEN_ <BR>
The array descriptor for the global matrix A.
<DT>B
<DD> (local input/local output) REAL array, dimension (LLD_B, NRHS)<BR>
On entry, the local part of the N-by-NRHS right-hand-side matrix.
<DT>IB
<DD> (global input) INTEGER <BR>
The row index of the global matrix B.
<DT>DESCB
<DD> (global and local input) INTEGER array of dimension DLEN_ <BR>
The array descriptor for the global matrix B.
</UL>
<P>
The style of the argument<A NAME="3298"> </A>
descriptions for diagonally dominant-like tridiagonal routines
(PxDTyyy) is illustrated by the following example:
<P>
<UL>
<DT>N
<DD> (global input) INTEGER <BR>
The number of rows and columns of the matrix A(JA:JA+N-1,JA:JA+N-1)
on which to be operated. N <IMG WIDTH=11 HEIGHT=24 ALIGN=MIDDLE ALT="tex2html_wrap_inline14966" SRC="img308.gif"> 0.
<DT>NRHS
<DD> (global input) INTEGER <BR>
The number of right hand sides, i.e., the number of columns
of the matrix B(IB:IB+N-1,*). NRHS <IMG WIDTH=11 HEIGHT=24 ALIGN=MIDDLE ALT="tex2html_wrap_inline14966" SRC="img308.gif"> 0.
<DT>DL
<DD> (local input/local output) REAL pointer into the local
memory to an array of local dimension (LOC<IMG WIDTH=6 HEIGHT=7 ALIGN=MIDDLE ALT="tex2html_wrap_inline12114" SRC="img16.gif">(JA+N-1)) <BR>
On entry, the local part of the subdiagonal entries of the global
tridiagonal matrix A(JA:JA+N-1,JA:JA+N-1).
<DT>D
<DD> (local input/local output) REAL pointer into the local
memory to an array of local dimension (LOC<IMG WIDTH=6 HEIGHT=7 ALIGN=MIDDLE ALT="tex2html_wrap_inline12114" SRC="img16.gif">(JA+N-1)) <BR>
On entry, the local part of the diagonal entries of the global
tridiagonal matrix A(JA:JA+N-1,JA:JA+N-1).
<DT>DU
<DD> (local input/local output) REAL pointer into the local
memory to an array of local dimension (LOC<IMG WIDTH=6 HEIGHT=7 ALIGN=MIDDLE ALT="tex2html_wrap_inline12114" SRC="img16.gif">(JA+N-1)) <BR>
On entry, the local part of the superdiagonal entries of the global
tridiagonal matrix A(JA:JA+N-1,JA:JA+N-1).
<DT>JA
<DD> (global input) INTEGER <BR>
The column index of the global matrix A.
<DT>DESCA
<DD> (global and local input) INTEGER array of dimension DLEN_ <BR>
The array descriptor for the global matrix A.
<DT>B
<DD> (local input/local output) REAL array, dimension (LLD_B, NRHS)<BR>
On entry, the local part of the N-by-NRHS right-hand-side matrix.
<DT>IB
<DD> (global input) INTEGER <BR>
The row index of the global matrix B.
<DT>DESCB
<DD> (global and local input) INTEGER array of dimension DLEN_ <BR>
The array descriptor for the global matrix B.
</UL>
<P>
The style of the argument<A NAME="3322"> </A>
descriptions for symmetric positive definite tridiagonal routines
(PxPTyyy) is illustrated by the following example:
<P>
<UL>
<DT>N
<DD> (global input) INTEGER <BR>
The number of rows and columns of the matrix A(JA:JA+N-1,JA:JA+N-1)
on which to be operated. N <IMG WIDTH=11 HEIGHT=24 ALIGN=MIDDLE ALT="tex2html_wrap_inline14966" SRC="img308.gif"> 0.
<DT>NRHS
<DD> (global input) INTEGER <BR>
The number of right hand sides, i.e., the number of columns
of the matrix B(IB:IB+N-1,*). NRHS <IMG WIDTH=11 HEIGHT=24 ALIGN=MIDDLE ALT="tex2html_wrap_inline14966" SRC="img308.gif"> 0.
<DT>D
<DD> (local input/local output) REAL pointer into the local
memory to an array of local dimension (LOC<IMG WIDTH=6 HEIGHT=7 ALIGN=MIDDLE ALT="tex2html_wrap_inline12114" SRC="img16.gif">(JA+N-1)) <BR>
On entry, the local part of the diagonal entries of the global
tridiagonal matrix A(JA:JA+N-1,JA:JA+N-1).
<DT>E
<DD> (local input/local output) REAL pointer into the local
memory to an array of local dimension (LOC<IMG WIDTH=6 HEIGHT=7 ALIGN=MIDDLE ALT="tex2html_wrap_inline12114" SRC="img16.gif">(JA+N-1)) <BR>
On entry, the local part of the off-diagonal entries of the global
tridiagonal matrix A(JA:JA+N-1,JA:JA+N-1).
<DT>JA
<DD> (global input) INTEGER <BR>
The column index of the global matrix A.
<DT>DESCA
<DD> (global and local input) INTEGER array of dimension DLEN_ <BR>
The array descriptor for the global matrix A.
<DT>B
<DD> (local input/local output) REAL array, dimension (LLD_B, NRHS)<BR>
On entry, the local part of the N-by-NRHS right-hand-side matrix.
<DT>IB
<DD> (global input) INTEGER <BR>
The row index of the global matrix B.
<DT>DESCB
<DD> (global and local input) INTEGER array of dimension DLEN_ <BR>
The array descriptor for the global matrix B.
</UL>
<P>
The description of each argument contains
the following information:
<P>
<UL>
<LI> A classification of the argument as (local input), (global and
local input), (local input/local output), (global input),
(local output), (global output), (global input/global output),
(local or global input)<A NAME="tex2html838" HREF="footnode.html#3346"><IMG ALIGN=BOTTOM ALT="gif" SRC="http://www.netlib.org/utk/icons/foot_motif.gif"></A> (local workspace),
or (local workspace/local output).
<LI> The type of the argument;
<LI> For an array, its dimension(s).
<P>
These dimensions are often expressed
in terms of LOC<IMG WIDTH=6 HEIGHT=7 ALIGN=MIDDLE ALT="tex2html_wrap_inline12112" SRC="img15.gif">() and LOC<IMG WIDTH=6 HEIGHT=7 ALIGN=MIDDLE ALT="tex2html_wrap_inline12114" SRC="img16.gif">()
calculations. For further details,
please refer to section <A HREF="node83.html#secblockmap">4.4.2</A>.
<LI> A specification of the value(s) that must be supplied for the
argument (if it is an input argument), or of the value(s) returned
by the routine (if it is an output argument), or both (if it is an
input/output argument). In the last case, the two parts of the
description are introduced by the phrases ``On entry'' and ``On exit''.
<LI> For a scalar input argument, any constraints that the supplied
values must satisfy (such as ``N <IMG WIDTH=11 HEIGHT=24 ALIGN=MIDDLE ALT="tex2html_wrap_inline14966" SRC="img308.gif"> 0'' in the example above).
<P>
</UL><HR><A NAME="tex2html3284" HREF="node89.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="http://www.netlib.org/utk/icons/next_motif.gif"></A> <A NAME="tex2html3282" HREF="node81.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="http://www.netlib.org/utk/icons/up_motif.gif"></A> <A NAME="tex2html3276" HREF="node87.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="http://www.netlib.org/utk/icons/previous_motif.gif"></A> <A NAME="tex2html3286" HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="http://www.netlib.org/utk/icons/contents_motif.gif"></A> <A NAME="tex2html3287" HREF="node190.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="http://www.netlib.org/utk/icons/index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME="tex2html3285" HREF="node89.html">Matrix Storage Conventions for </A>
<B>Up:</B> <A NAME="tex2html3283" HREF="node81.html">In-Core Narrow Band and </A>
<B> Previous:</B> <A NAME="tex2html3277" HREF="node87.html">Array Descriptor for the </A>
<P><ADDRESS>
<I>Susan Blackford <BR>
Tue May 13 09:21:01 EDT 1997</I>
</ADDRESS>
</BODY>
</HTML>
|