Note: before using this routine, please read the Users' Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent details.
F06SKF (ZTBSV) performs one of the matrix-vector operations
where is an by complex triangular band matrix with subdiagonals or superdiagonals, 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.
4 References
None.
5 Parameters
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: – INTEGERInput
On entry: , the number of subdiagonals or superdiagonals of the matrix .
Constraint:
.
6: – COMPLEX (KIND=nag_wp) arrayInput
Note: the second dimension of the array A
must be at least
.
On entry: the by triangular band matrix
The matrix is stored in rows to , more precisely,
if , the elements of the upper triangle of within the band must be stored with element in ;
if , the elements of the lower triangle of within the band must be stored with element in
If , the diagonal elements of are assumed to be , and are not referenced.
7: – INTEGERInput
On entry: the first dimension of the array A as declared in the (sub)program from which F06SKF (ZTBSV) is called.
Constraint:
.
8: – 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 .
9: – INTEGERInput
On entry: the increment in the subscripts of X between successive elements of .