F06TMF performs a Unitary similarity transformation (as a sequence of plane rotations) of a complex Hermitian matrix.
F06TMF performs the transformation
where
is an
by
complex Hermitian matrix, and
is a complex unitary matrix defined as a sequence of plane rotations,
, applied in planes
to
.
The
by
plane rotation part of
is assumed to have the form
with
real.
None.
- 1: UPLO – CHARACTER(1)Input
On entry: specifies whether the upper or lower triangular part of
is stored.
- The upper triangular part of is stored.
- The lower triangular part of is stored.
Constraint:
or .
- 2: PIVOT – CHARACTER(1)Input
On entry: specifies the plane rotated by
.
- (variable pivot)
- rotates the plane.
- (top pivot)
- rotates the plane.
- (bottom pivot)
- rotates the plane.
Constraint:
, or .
- 3: DIRECT – CHARACTER(1)Input
On entry: specifies the sequence direction.
- (forward sequence)
- .
- (backward sequence)
- .
Constraint:
or .
- 4: N – INTEGERInput
On entry: , the order of the matrix .
Constraint:
.
- 5: K1 – INTEGERInput
- 6: K2 – INTEGERInput
On entry: the values
and
.
If or or , an immediate return is effected.
- 7: C() – REAL (KIND=nag_wp) arrayInput
-
Note: the dimension of the array
C
must be at least
.
On entry: must hold , the cosine of the rotation , for .
- 8: S() – COMPLEX (KIND=nag_wp) arrayInput
-
Note: the dimension of the array
S
must be at least
.
On entry: must hold , the sine of the rotation , for .
- 9: A(LDA,) – COMPLEX (KIND=nag_wp) arrayInput/Output
-
Note: the second dimension of the array
A
must be at least
.
On entry: the
by
Hermitian matrix
.
- If , the upper triangular part of must be stored and the elements of the array below the diagonal are not referenced.
- If , the lower triangular part of must be stored and the elements of the array above the diagonal are not referenced.
On exit: the transformed matrix . The imaginary parts of the diagonal elements are set to zero.
- 10: LDA – INTEGERInput
On entry: the first dimension of the array
A as declared in the (sub)program from which F06TMF is called.
Constraint:
.
None.
Not applicable.
None.
None.