|
NAG[f01rcc] NAG[nag_complex_qr] - factorization of complex by matrix
|
|
Calling Sequence
f01rcc(a, theta, 'm'=m, 'n'=n, 'tda'=tda, 'fail'=fail)
nag_complex_qr(. . .)
Parameters
|
a - Matrix(1..m, 1..tda, datatype=complex[8], order=C_order);
|
|
|
On entry: the leading by part of the array a must contain the matrix to be factorized.
|
|
|
theta - Vector(1..n, datatype=complex[8]);
|
|
|
|
'm'=m - integer; (optional)
|
|
|
Default value: the first dimension of the array a.
|
|
On entry: , the number of rows of .
|
|
Constraint: . .
|
|
|
'n'=n - integer; (optional)
|
|
|
Default value: the first dimension of the array theta and the second dimension of the array thetathe array a.
|
|
On entry: , the number of columns of .
|
|
;
|
|
When then an immediate return is effected.
|
|
|
'tda'=tda - integer; (optional)
|
|
|
On entry: the second dimension of the array a as declared in the function from which nag_complex_qr (f01rcc) is called.
|
|
Constraint: . .
|
|
|
'fail'=fail - table; (optional)
|
|
|
The NAG error argument, see the documentation for NagError.
|
|
|
|
Description
|
|
|
Error Indicators and Warnings
|
|
"NE_2_INT_ARG_LT"
On entry, while . These arguments must satisfy .
"NE_INT_ARG_LT"
On entry, n must not be less than 0: .
|
|
|
Examples
|
|
>
|
m := 5:
n := 3:
tda := 3:
a := Matrix([[0 +0.5*I , -0.5 +1.5*I , -1 +1*I ], [0.4 +0.3*I , 0.9 +1.3*I , 0.2 +1.4*I ], [0.4 +0*I , -0.4 +0.4*I , 1.8 +0*I ], [0.3 -0.4*I , 0.1 +0.7*I , 0 +0*I ], [0 -0.3*I , 0.3 +0.3*I , 0 +2.4*I ]], datatype=complex[8], order='C_order'):
theta := Vector(3, datatype=complex[8]):
NAG:-f01rcc(a, theta, 'm' = m, 'n' = n, 'tda' = tda):
|

|
|