|
NAG[f16thc] NAG[nag_zge_load] - Matrix initialization, complex rectangular matrix
|
|
Calling Sequence
f16thc(alpha, diag, a, 'm'=m, 'n'=n, 'fail'=fail)
nag_zge_load(. . .)
Parameters
|
alpha - complex;
|
|
|
On entry: the value, , to be assigned to the off-diagonal elements of .
|
|
|
diag - complex;
|
|
|
On entry: the value, , to be assigned to the diagonal elements of .
|
|
|
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.
|
|
|
'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_zge_load (f16thc) initializes a complex general matrix.
|
|
Description
|
|
nag_zge_load (f16thc) forms the complex by general matrix given by
|
|
Error Indicators and Warnings
|
|
"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
|
|
>
|
alpha := 1+I:
diag := 1-I:
a := Matrix(3, 3, datatype=complex[8]):
NAG:-f16thc(alpha, diag, a):
|
|
|
Download Help Document
Was this information helpful?