summaryrefslogtreecommitdiff
path: root/SRC/slarfb.f
diff options
context:
space:
mode:
authorjames <james@8a072113-8704-0410-8d35-dd094bca7971>2011-03-08 21:01:45 +0000
committerjames <james@8a072113-8704-0410-8d35-dd094bca7971>2011-03-08 21:01:45 +0000
commit86579dddaf0142000a291a7fdac0850278b56317 (patch)
tree613d7b54cdfecf82091457a58aae1ffd68a7d772 /SRC/slarfb.f
parenta300372e37f71a181fb4ef4f37e063dc97e1175d (diff)
downloadlapack-86579dddaf0142000a291a7fdac0850278b56317.tar.gz
lapack-86579dddaf0142000a291a7fdac0850278b56317.tar.bz2
lapack-86579dddaf0142000a291a7fdac0850278b56317.zip
Added missing Further Details description of V (copied from xLARFT)
Diffstat (limited to 'SRC/slarfb.f')
-rw-r--r--SRC/slarfb.f27
1 files changed, 26 insertions, 1 deletions
diff --git a/SRC/slarfb.f b/SRC/slarfb.f
index 234ba229..a4f23c17 100644
--- a/SRC/slarfb.f
+++ b/SRC/slarfb.f
@@ -59,7 +59,7 @@
* (LDV,K) if STOREV = 'C'
* (LDV,M) if STOREV = 'R' and SIDE = 'L'
* (LDV,N) if STOREV = 'R' and SIDE = 'R'
-* The matrix V. See further details.
+* The matrix V. See Further Details.
*
* LDV (input) INTEGER
* The leading dimension of the array V.
@@ -88,6 +88,31 @@
* If SIDE = 'L', LDWORK >= max(1,N);
* if SIDE = 'R', LDWORK >= max(1,M).
*
+* Further Details
+* ===============
+*
+* The shape of the matrix V and the storage of the vectors which define
+* the H(i) is best illustrated by the following example with n = 5 and
+* k = 3. The elements equal to 1 are not stored; the corresponding
+* array elements are modified but restored on exit. The rest of the
+* array is not used.
+*
+* DIRECT = 'F' and STOREV = 'C': DIRECT = 'F' and STOREV = 'R':
+*
+* V = ( 1 ) V = ( 1 v1 v1 v1 v1 )
+* ( v1 1 ) ( 1 v2 v2 v2 )
+* ( v1 v2 1 ) ( 1 v3 v3 )
+* ( v1 v2 v3 )
+* ( v1 v2 v3 )
+*
+* DIRECT = 'B' and STOREV = 'C': DIRECT = 'B' and STOREV = 'R':
+*
+* V = ( v1 v2 v3 ) V = ( v1 v1 1 )
+* ( v1 v2 v3 ) ( v2 v2 v2 1 )
+* ( 1 v2 v3 ) ( v3 v3 v3 v3 1 )
+* ( 1 v3 )
+* ( 1 )
+*
* =====================================================================
*
* .. Parameters ..