zlarzt.f.html

来自「famous linear algebra library (LAPACK) p」· HTML 代码 · 共 211 行 · 第 1/2 页

HTML
211
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
 <head>
  <title>zlarzt.f</title>
 <meta name="generator" content="emacs 21.3.1; htmlfontify 0.20">
<style type="text/css"><!-- 
body { background: rgb(255, 255, 255);  color: rgb(0, 0, 0);  font-style: normal;  font-weight: 500;  font-stretch: normal;  font-family: adobe-courier;  font-size: 11pt;  text-decoration: none; }
span.default   { background: rgb(255, 255, 255);  color: rgb(0, 0, 0);  font-style: normal;  font-weight: 500;  font-stretch: normal;  font-family: adobe-courier;  font-size: 11pt;  text-decoration: none; }
span.default a { background: rgb(255, 255, 255);  color: rgb(0, 0, 0);  font-style: normal;  font-weight: 500;  font-stretch: normal;  font-family: adobe-courier;  font-size: 11pt;  text-decoration: underline; }
span.string   { color: rgb(188, 143, 143);  background: rgb(255, 255, 255);  font-style: normal;  font-weight: 500;  font-stretch: normal;  font-family: adobe-courier;  font-size: 11pt;  text-decoration: none; }
span.string a { color: rgb(188, 143, 143);  background: rgb(255, 255, 255);  font-style: normal;  font-weight: 500;  font-stretch: normal;  font-family: adobe-courier;  font-size: 11pt;  text-decoration: underline; }
span.comment   { color: rgb(178, 34, 34);  background: rgb(255, 255, 255);  font-style: normal;  font-weight: 500;  font-stretch: normal;  font-family: adobe-courier;  font-size: 11pt;  text-decoration: none; }
span.comment a { color: rgb(178, 34, 34);  background: rgb(255, 255, 255);  font-style: normal;  font-weight: 500;  font-stretch: normal;  font-family: adobe-courier;  font-size: 11pt;  text-decoration: underline; }
 --></style>

 </head>
  <body>

<pre>
      SUBROUTINE <a name="ZLARZT.1"></a><a href="zlarzt.f.html#ZLARZT.1">ZLARZT</a>( DIRECT, STOREV, N, K, V, LDV, TAU, T, LDT )
<span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  -- LAPACK routine (version 3.1) --
</span><span class="comment">*</span><span class="comment">     Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
</span><span class="comment">*</span><span class="comment">     November 2006
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">     .. Scalar Arguments ..
</span>      CHARACTER          DIRECT, STOREV
      INTEGER            K, LDT, LDV, N
<span class="comment">*</span><span class="comment">     ..
</span><span class="comment">*</span><span class="comment">     .. Array Arguments ..
</span>      COMPLEX*16         T( LDT, * ), TAU( * ), V( LDV, * )
<span class="comment">*</span><span class="comment">     ..
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  Purpose
</span><span class="comment">*</span><span class="comment">  =======
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  <a name="ZLARZT.18"></a><a href="zlarzt.f.html#ZLARZT.1">ZLARZT</a> forms the triangular factor T of a complex block reflector
</span><span class="comment">*</span><span class="comment">  H of order &gt; n, which is defined as a product of k elementary
</span><span class="comment">*</span><span class="comment">  reflectors.
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  If DIRECT = 'F', H = H(1) H(2) . . . H(k) and T is upper triangular;
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  If DIRECT = 'B', H = H(k) . . . H(2) H(1) and T is lower triangular.
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  If STOREV = 'C', the vector which defines the elementary reflector
</span><span class="comment">*</span><span class="comment">  H(i) is stored in the i-th column of the array V, and
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">     H  =  I - V * T * V'
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  If STOREV = 'R', the vector which defines the elementary reflector
</span><span class="comment">*</span><span class="comment">  H(i) is stored in the i-th row of the array V, and
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">     H  =  I - V' * T * V
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  Currently, only STOREV = 'R' and DIRECT = 'B' are supported.
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  Arguments
</span><span class="comment">*</span><span class="comment">  =========
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  DIRECT  (input) CHARACTER*1
</span><span class="comment">*</span><span class="comment">          Specifies the order in which the elementary reflectors are
</span><span class="comment">*</span><span class="comment">          multiplied to form the block reflector:
</span><span class="comment">*</span><span class="comment">          = 'F': H = H(1) H(2) . . . H(k) (Forward, not supported yet)
</span><span class="comment">*</span><span class="comment">          = 'B': H = H(k) . . . H(2) H(1) (Backward)
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  STOREV  (input) CHARACTER*1
</span><span class="comment">*</span><span class="comment">          Specifies how the vectors which define the elementary
</span><span class="comment">*</span><span class="comment">          reflectors are stored (see also Further Details):
</span><span class="comment">*</span><span class="comment">          = 'C': columnwise                        (not supported yet)
</span><span class="comment">*</span><span class="comment">          = 'R': rowwise
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  N       (input) INTEGER
</span><span class="comment">*</span><span class="comment">          The order of the block reflector H. N &gt;= 0.
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  K       (input) INTEGER
</span><span class="comment">*</span><span class="comment">          The order of the triangular factor T (= the number of
</span><span class="comment">*</span><span class="comment">          elementary reflectors). K &gt;= 1.
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  V       (input/output) COMPLEX*16 array, dimension
</span><span class="comment">*</span><span class="comment">                               (LDV,K) if STOREV = 'C'
</span><span class="comment">*</span><span class="comment">                               (LDV,N) if STOREV = 'R'
</span><span class="comment">*</span><span class="comment">          The matrix V. See further details.
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  LDV     (input) INTEGER
</span><span class="comment">*</span><span class="comment">          The leading dimension of the array V.
</span><span class="comment">*</span><span class="comment">          If STOREV = 'C', LDV &gt;= max(1,N); if STOREV = 'R', LDV &gt;= K.
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  TAU     (input) COMPLEX*16 array, dimension (K)
</span><span class="comment">*</span><span class="comment">          TAU(i) must contain the scalar factor of the elementary
</span><span class="comment">*</span><span class="comment">          reflector H(i).
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  T       (output) COMPLEX*16 array, dimension (LDT,K)
</span><span class="comment">*</span><span class="comment">          The k by k triangular factor T of the block reflector.
</span><span class="comment">*</span><span class="comment">          If DIRECT = 'F', T is upper triangular; if DIRECT = 'B', T is
</span><span class="comment">*</span><span class="comment">          lower triangular. The rest of the array is not used.
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  LDT     (input) INTEGER
</span><span class="comment">*</span><span class="comment">          The leading dimension of the array T. LDT &gt;= K.
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  Further Details
</span><span class="comment">*</span><span class="comment">  ===============
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  Based on contributions by
</span><span class="comment">*</span><span class="comment">    A. Petitet, Computer Science Dept., Univ. of Tenn., Knoxville, USA
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment">  The shape of the matrix V and the storage of the vectors which define

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?