dorml2.f.html
来自「famous linear algebra library (LAPACK) p」· HTML 代码 · 共 222 行 · 第 1/2 页
HTML
222 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>dorml2.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="DORML2.1"></a><a href="dorml2.f.html#DORML2.1">DORML2</a>( SIDE, TRANS, M, N, K, A, LDA, TAU, C, LDC,
$ WORK, INFO )
<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 SIDE, TRANS
INTEGER INFO, K, LDA, LDC, M, N
<span class="comment">*</span><span class="comment"> ..
</span><span class="comment">*</span><span class="comment"> .. Array Arguments ..
</span> DOUBLE PRECISION A( LDA, * ), C( LDC, * ), TAU( * ), WORK( * )
<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="DORML2.19"></a><a href="dorml2.f.html#DORML2.1">DORML2</a> overwrites the general real m by n matrix C with
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> Q * C if SIDE = 'L' and TRANS = 'N', or
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> Q'* C if SIDE = 'L' and TRANS = 'T', or
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> C * Q if SIDE = 'R' and TRANS = 'N', or
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> C * Q' if SIDE = 'R' and TRANS = 'T',
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> where Q is a real orthogonal matrix defined as the product of k
</span><span class="comment">*</span><span class="comment"> elementary reflectors
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> Q = H(k) . . . H(2) H(1)
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> as returned by <a name="DGELQF.34"></a><a href="dgelqf.f.html#DGELQF.1">DGELQF</a>. Q is of order m if SIDE = 'L' and of order n
</span><span class="comment">*</span><span class="comment"> if SIDE = 'R'.
</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"> SIDE (input) CHARACTER*1
</span><span class="comment">*</span><span class="comment"> = 'L': apply Q or Q' from the Left
</span><span class="comment">*</span><span class="comment"> = 'R': apply Q or Q' from the Right
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> TRANS (input) CHARACTER*1
</span><span class="comment">*</span><span class="comment"> = 'N': apply Q (No transpose)
</span><span class="comment">*</span><span class="comment"> = 'T': apply Q' (Transpose)
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> M (input) INTEGER
</span><span class="comment">*</span><span class="comment"> The number of rows of the matrix C. M >= 0.
</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 number of columns of the matrix C. N >= 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 number of elementary reflectors whose product defines
</span><span class="comment">*</span><span class="comment"> the matrix Q.
</span><span class="comment">*</span><span class="comment"> If SIDE = 'L', M >= K >= 0;
</span><span class="comment">*</span><span class="comment"> if SIDE = 'R', N >= K >= 0.
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> A (input) DOUBLE PRECISION array, dimension
</span><span class="comment">*</span><span class="comment"> (LDA,M) if SIDE = 'L',
</span><span class="comment">*</span><span class="comment"> (LDA,N) if SIDE = 'R'
</span><span class="comment">*</span><span class="comment"> The i-th row must contain the vector which defines the
</span><span class="comment">*</span><span class="comment"> elementary reflector H(i), for i = 1,2,...,k, as returned by
</span><span class="comment">*</span><span class="comment"> <a name="DGELQF.65"></a><a href="dgelqf.f.html#DGELQF.1">DGELQF</a> in the first k rows of its array argument A.
</span><span class="comment">*</span><span class="comment"> A is modified by the routine but restored on exit.
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> LDA (input) INTEGER
</span><span class="comment">*</span><span class="comment"> The leading dimension of the array A. LDA >= max(1,K).
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> TAU (input) DOUBLE PRECISION 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), as returned by <a name="DGELQF.73"></a><a href="dgelqf.f.html#DGELQF.1">DGELQF</a>.
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> C (input/output) DOUBLE PRECISION array, dimension (LDC,N)
</span><span class="comment">*</span><span class="comment"> On entry, the m by n matrix C.
</span><span class="comment">*</span><span class="comment"> On exit, C is overwritten by Q*C or Q'*C or C*Q' or C*Q.
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> LDC (input) INTEGER
</span><span class="comment">*</span><span class="comment"> The leading dimension of the array C. LDC >= max(1,M).
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> WORK (workspace) DOUBLE PRECISION array, dimension
</span><span class="comment">*</span><span class="comment"> (N) if SIDE = 'L',
</span><span class="comment">*</span><span class="comment"> (M) if SIDE = 'R'
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> INFO (output) INTEGER
</span><span class="comment">*</span><span class="comment"> = 0: successful exit
</span><span class="comment">*</span><span class="comment"> < 0: if INFO = -i, the i-th argument had an illegal value
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> =====================================================================
</span><span class="comment">*</span><span class="comment">
</span><span class="comment">*</span><span class="comment"> .. Parameters ..
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?