|
NAG[f08ksc] NAG[nag_zgebrd] - Unitary reduction of complex general rectangular matrix to bidiagonal form
|
|
Calling Sequence
f08ksc(a, d, e, tauq, taup, 'm'=m, 'n'=n, 'fail'=fail)
nag_zgebrd(. . .)
Parameters
|
a - Matrix(1..dim1, 1..dim2, datatype=complex[8], order=order);
|
|
|
Note: this array may be supplied in Fortran_order or C_order , as specified by order. All array parameters must use a consistent order.
|
|
|
d - Vector(1..dim, datatype=float[8]);
|
|
|
Note: the dimension, dim, of the array d must be at least .
|
|
On exit: the diagonal elements of the bidiagonal matrix .
|
|
|
e - Vector(1..dim, datatype=float[8]);
|
|
|
Note: the dimension, dim, of the array e must be at least .
|
|
On exit: the off-diagonal elements of the bidiagonal matrix .
|
|
|
tauq - Vector(1..dim, datatype=complex[8]);
|
|
|
Note: the dimension, dim, of the array tauq must be at least .
|
|
On exit: further details of the matrix .
|
|
|
taup - Vector(1..dim, datatype=complex[8]);
|
|
|
Note: the dimension, dim, of the array taup must be at least .
|
|
On exit: further details of the matrix .
|
|
|
'm'=m - integer; (optional)
|
|
|
Default value: the first dimension of the array a.
|
|
On entry: , the number of rows of the matrix .
|
|
Constraint: . .
|
|
|
'n'=n - integer; (optional)
|
|
|
Default value: the second dimension of the array a.
|
|
On entry: , the number of columns of the matrix .
|
|
Constraint: . .
|
|
|
'fail'=fail - table; (optional)
|
|
|
The NAG error argument, see the documentation for NagError.
|
|
|
|
Description
|
|
|
Purpose
|
|
nag_zgebrd (f08ksc) reduces a complex by matrix to bidiagonal form.
|
|
Error Indicators and Warnings
|
|
"NE_ALLOC_FAIL"
Dynamic memory allocation failed.
"NE_BAD_PARAM"
On entry, argument had an illegal value.
"NE_INT"
On entry, . Constraint: .
On entry, . 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 consult NAG for assistance.
|
|
|
Examples
|
|
>
|
m := 6:
n := 4:
a := Matrix([[0.96 -0.8100000000000001*I , -0.03 +0.96*I , -0.91 +2.06*I , -0.05 +0.41*I ], [-0.98 +1.98*I , -1.2 +0.19*I , -0.66 +0.42*I , -0.8100000000000001 +0.5600000000000001*I ], [0.62 -0.46*I , 1.01 +0.02*I , 0.63 -0.17*I , -1.11 +0.6*I ], [-0.37 +0.38*I , 0.19 -0.54*I , -0.98 -0.36*I , 0.22 -0.2*I ], [0.83 +0.51*I , 0.2 +0.01*I , -0.17 -0.46*I , 1.47 +1.59*I ], [1.08 -0.28*I , 0.2 -0.12*I , -0.07000000000000001 +1.23*I , 0.26 +0.26*I ]], datatype=complex[8]):
d := Vector(4, datatype=float[8]):
e := Vector(3, datatype=float[8]):
tauq := Vector(4, datatype=complex[8]):
taup := Vector(4, datatype=complex[8]):
NAG:-f08ksc(a, d, e, tauq, taup, 'm' = m, 'n' = n):
|

|
|