nag_zunmbr (f08kuc) multiplies an arbitrary complex
by
matrix
by one of the complex unitary matrices
or
which were determined by
nag_zgebrd (f08ksc) when reducing a complex matrix to bidiagonal form.
nag_zunmbr (f08kuc) is intended to be used after a call to
nag_zgebrd (f08ksc), which reduces a complex rectangular matrix
to real bidiagonal form
by a unitary transformation:
.
nag_zgebrd (f08ksc) represents the matrices
and
as products of elementary reflectors.
This function may be used to form one of the matrix products
overwriting the result on
(which may be any complex rectangular matrix).
- NE_ALLOC_FAIL
Dynamic memory allocation failed.
- NE_BAD_PARAM
On entry, argument had an illegal value.
- NE_ENUM_INT_2
On entry, , , .
Constraint: if ,
;
if ,
.
On entry, , and .
Constraint: if , ;
if , .
- NE_INT
On entry, .
Constraint: .
On entry, .
Constraint: .
On entry, .
Constraint: .
On entry, .
Constraint: .
On entry, .
Constraint: .
- NE_INT_2
On entry, and .
Constraint: .
On entry, and .
Constraint: .
- NE_INTERNAL_ERROR
An internal error has occurred in this function. Check the function call and any array sizes. If the call is correct then please contact
NAG for assistance.
The computed result differs from the exact result by a matrix
such that
where
is the
machine precision.
The total number of real floating point operations is approximately
- if and , ;
- if and , ;
- if and , ;
- if and , ,
where
is the value of the argument
k.
The real analogue of this function is
nag_dormbr (f08kgc).
For this function two examples are presented. Both illustrate how the reduction to bidiagonal form of a matrix may be preceded by a or factorization of .
In the first example,
, and
The function first performs a
factorization of
as
and then reduces the factor
to bidiagonal form
:
. Finally it forms
and calls nag_zunmbr (f08kuc) to form
.
In the second example,
, and
The function first performs an
factorization of
as
and then reduces the factor
to bidiagonal form
:
. Finally it forms
and calls nag_zunmbr (f08kuc) to form
.