Scroll to navigation

SLAREF(l) LAPACK auxiliary routine (version 1.5) SLAREF(l)

NAME

SLAREF - applie one or several Householder reflectors of size 3 to one or two matrices (if column is specified) on either their rows or columns

SYNOPSIS

TYPE, A, LDA, WANTZ, Z, LDZ, BLOCK, IROW1, ICOL1, ISTART, ISTOP, ITMP1, ITMP2, LILOZ, LIHIZ, VECS, V2, V3, T1, T2, T3 )

LOGICAL BLOCK, WANTZ CHARACTER TYPE INTEGER ICOL1, IROW1, ISTART, ISTOP, ITMP1, ITMP2, LDA, LDZ, LIHIZ, LILOZ REAL T1, T2, T3, V2, V3 REAL A( LDA, * ), VECS( * ), Z( LDZ, * )

PURPOSE

SLAREF applies one or several Householder reflectors of size 3
to one or two matrices (if column is specified) on either their
rows or columns.

ARGUMENTS

If 'R': Apply reflectors to the rows of the matrix (apply from left) Otherwise: Apply reflectors to the columns of the matrix Unchanged on exit.
On entry, the matrix to receive the reflections. The updated matrix on exit.
On entry, the leading dimension of A. Unchanged on exit.
If .TRUE., then apply any column reflections to Z as well. If .FALSE., then do no additional work on Z.
On entry, the second matrix to receive column reflections. This is changed only if WANTZ is set.
On entry, the leading dimension of Z. Unchanged on exit.
If .TRUE., then apply several reflectors at once and read their data from the VECS array. If .FALSE., apply the single reflector given by V2, V3, T1, T2, and T3.
On entry, the local row element of A. Undefined on output.
On entry, the local column element of A. Undefined on output.
Specifies the "number" of the first reflector. This is used as an index into VECS if BLOCK is set. ISTART is ignored if BLOCK is .FALSE..
Specifies the "number" of the last reflector. This is used as an index into VECS if BLOCK is set. ISTOP is ignored if BLOCK is .FALSE..
Starting range into A. For rows, this is the local first column. For columns, this is the local first row.
Ending range into A. For rows, this is the local last column. For columns, this is the local last row.

LILOZ LIHIZ (local input) INTEGER These serve the same purpose as ITMP1,ITMP2 but for Z when WANTZ is set.

size) This holds the size 3 reflectors one after another and this is only accessed when BLOCK is .TRUE.

V2 V3 T1 T2 T3 (global input/output) REAL This holds information on a single size 3 Householder reflector and is read when BLOCK is .FALSE., and overwritten when BLOCK is .TRUE.

Implemented by: G. Henry, May 1, 1997

12 May 1997 LAPACK version 1.5