F06TQF performs the factorization
where
and
are
by
complex upper triangular matrices,
is an
-element complex vector,
is a complex scalar, and
is a complex unitary matrix. If
has real diagonal elements, then so does
.
is formed as a sequence of plane rotations
where
is a rotation in the
plane, chosen to annihilate
.
None.
- 1: N – INTEGERInput
On entry: , the order of the matrices and .
Constraint:
.
- 2: ALPHA – COMPLEX (KIND=nag_wp)Input
On entry: the scalar .
- 3: X() – COMPLEX (KIND=nag_wp) arrayInput/Output
-
Note: the dimension of the array
X
must be at least
.
On entry: the
-element vector
.
must be stored in
, for
.
Intermediate elements of
X are not referenced.
On exit: the referenced elements are overwritten by details of the sequence of plane rotations.
- 4: INCX – INTEGERInput
On entry: the increment in the subscripts of
X between successive elements of
.
Constraint:
.
- 5: A(LDA,) – COMPLEX (KIND=nag_wp) arrayInput/Output
-
Note: the second dimension of the array
A
must be at least
.
On entry: the by upper triangular matrix .
On exit: the upper triangular matrix .
- 6: LDA – INTEGERInput
On entry: the first dimension of the array
A as declared in the (sub)program from which F06TQF is called.
Constraint:
.
- 7: C(N) – REAL (KIND=nag_wp) arrayOutput
On exit: the values
, the cosines of the rotations , for .
- 8: S(N) – COMPLEX (KIND=nag_wp) arrayOutput
On exit: the values
, the sines of the rotations , for .
None.
Not applicable.
None.
None.