The routine may be called by the names f06slf, nagf_blas_ztpsv or its BLAS name ztpsv.
3Description
f06slf performs one of the matrix-vector operations
where is an by complex triangular matrix, stored in packed form, and is an -element complex vector. denotes or equivalently ; denotes or equivalently .
No test for singularity or near-singularity of is included in this routine. Such tests must be performed before calling this routine.
4References
None.
5Arguments
1: – Character(1)Input
On entry: specifies whether is upper or lower triangular.
is upper triangular.
is lower triangular.
Constraint:
or .
2: – Character(1)Input
On entry: specifies the operation to be performed.
.
.
.
Constraint:
, or .
3: – Character(1)Input
On entry: specifies whether has nonunit or unit diagonal elements.
The diagonal elements are stored explicitly.
The diagonal elements are assumed to be , and are not referenced.
Constraint:
or .
4: – IntegerInput
On entry: , the order of the matrix .
Constraint:
.
5: – Complex (Kind=nag_wp) arrayInput
Note: the dimension of the array ap
must be at least
.
On entry: the by triangular matrix , packed by columns.
More precisely,
if , the upper triangle of must be stored with element in for ;
if , the lower triangle of must be stored with element in for .
If , the diagonal elements of are assumed to be , and are not referenced; the same storage scheme is used whether or ‘U’.
6: – Complex (Kind=nag_wp) arrayInput/Output
Note: the dimension of the array x
must be at least
.
On entry: the vector .
If ,
must be stored in , for .
If ,
must be stored in , for .
On exit: the updated vector stored in the array elements used to supply the original vector .
7: – IntegerInput
On entry: the increment in the subscripts of x between successive elements of .