|
NAG[f16tgc] NAG[nag_ztr_load] - Matrix initialization, complex triangular matrix
|
|
Calling Sequence
f16tgc(uplo, alpha, diag, a, 'n'=n, 'fail'=fail)
nag_ztr_load(. . .)
Parameters
|
uplo - String;
|
|
|
On entry: specifies whether the upper or lower triangular part of is stored.
|
|
The upper triangular part of is stored.
|
|
The lower triangular part of is stored.
|
|
Constraint: "Nag_Upper" or "Nag_Lower". .
|
|
|
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.
|
|
If , is upper triangular and the elements of the array below the diagonal are not referenced.
|
|
If , is lower triangular and the elements of the array above the diagonal are not referenced.
|
|
|
'n'=n - integer; (optional)
|
|
|
Default value: the dimension of the array a.
|
|
On entry: , the order of the matrix .
|
|
Constraint: . .
|
|
|
'fail'=fail - table; (optional)
|
|
|
The NAG error argument, see the documentation for NagError.
|
|
|
|
Description
|
|
|
Purpose
|
|
nag_ztr_load (f16tgc) initializes a complex triangular matrix.
|
|
Description
|
|
nag_ztr_load (f16tgc) forms the complex by triangular matrix given by
|
|
Error Indicators and Warnings
|
|
"NE_BAD_PARAM"
On entry, argument had an illegal value.
"NE_INT"
On entry, . Constraint: .
|
|
|
Examples
|
|
>
|
uplo := "Nag_Lower":
alpha := 1+I:
diag := 1-I:
a := Matrix(3, 3, datatype=complex[8]):
NAG:-f16tgc(uplo, alpha, diag, a):
|
|
|
Download Help Document
Was this information helpful?