naginterfaces.library.matop.ztrttp(uplo, a)[source]

ztrttp copies a complex triangular matrix, stored in a full format array, to a packed format array.

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

uplostr, length 1

Specifies whether is upper or lower triangular.

is upper triangular.

is lower triangular.

acomplex, array-like, shape

The triangular matrix .

apcomplex, ndarray, shape

The triangular matrix , packed by columns.

(errno )

On entry, error in parameter .

Constraint: or .

(errno )

On entry, error in parameter .

Constraint: .


ztrttp packs a complex triangular matrix , stored conventionally in a full format array, into an array of length . The matrix is packed by columns. This function is intended for possible use in conjunction with functions from submodule blas, submodule blast, submodule lapacklin and submodule lapackeig where some functions use triangular matrices stored in the packed form. Packed storage format is described in the F07 Introduction.