F06QQF performs the factorization
where
and
are
by
real upper triangular matrices,
is an
-element real vector,
is a real scalar, and
is a real orthogonal matrix.
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 – REAL (KIND=nag_wp)Input
On entry: the scalar .
- 3: X() – REAL (KIND=nag_wp) arrayInput/Output
-
Note: the dimension of the array
X
must be at least
.
On entry: the vector .
must be stored in , for .
On exit: the referenced elements are overwritten by the tangents of the rotations
, for .
- 4: INCX – INTEGERInput
On entry: the increment in the subscripts of
X between successive elements of
.
Constraint:
.
- 5: A(LDA,) – REAL (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 F06QQF is called.
Constraint:
.
- 7: C(N) – REAL (KIND=nag_wp) arrayOutput
On exit: the values
, the cosines of the rotations , for .
- 8: S(N) – REAL (KIND=nag_wp) arrayOutput
On exit: the values
, the sines of the rotations , for .
None.
Not applicable.
None.
None.