nag_dormbr (f08kgc) multiplies an arbitrary real
by
matrix
by one of the real orthogonal matrices
or
which were determined by
nag_dgebrd (f08kec) when reducing a real matrix to bidiagonal form.
nag_dormbr (f08kgc) is intended to be used after a call to
nag_dgebrd (f08kec), which reduces a real rectangular matrix
to bidiagonal form
by an orthogonal transformation:
.
nag_dgebrd (f08kec) 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 real 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 floating point operations is approximately
- if and , ;
- if and , ;
- if and , ;
- if and , ,
where
is the value of the argument
k.
The complex analogue of this function is
nag_zunmbr (f08kuc).
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_dormbr (f08kgc) 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_dormbr (f08kgc) to form
.