naginterfaces.library.blas.ztpmv

naginterfaces.library.blas.ztpmv(uplo, trans, diag, ap, x)[source]

ztpmv computes the matrix-vector product for a complex triangular matrix, its transpose or its conjugate transpose, stored in packed form.

For full information please refer to the NAG Library document for f06sh

https://support.nag.com/numeric/nl/nagdoc_30/flhtml/f06/f06shf.html

Parameters
uplostr, length 1

Specifies whether is upper or lower triangular.

is upper triangular.

is lower triangular.

transstr, length 1

Specifies the operation to be performed.

.

.

.

diagstr, length 1

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.

apcomplex, array-like, shape

The triangular matrix , packed by columns.

xcomplex, array-like, shape

The vector .

Returns
xcomplex, ndarray, shape

The updated vector .

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: or .

(errno )

On entry, error in parameter .

Constraint: , or .

(errno )

On entry, error in parameter .

Constraint: or .

(errno )

On entry, error in parameter .

Constraint: .

(errno )

On entry, error in parameter .

Constraint: .

Notes

In the NAG Library the traditional C interface for this routine uses a different algorithmic base. Please contact NAG if you have any questions about compatibility.

ztpmv performs one of the matrix-vector operations

where is an complex triangular matrix, stored in packed form, and is an -element complex vector.