naginterfaces.library.matop.ztpttr

naginterfaces.library.matop.ztpttr(uplo, n, ap)[source]

ztpttr unpacks a complex triangular matrix, stored in a standard packed format array, to a full format array.

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

https://www.nag.com/numeric/nl/nagdoc_28.6/flhtml/f01/f01vdf.html

Parameters
uplostr, length 1

Specifies whether is upper or lower triangular.

is upper triangular.

is lower triangular.

nint

, the order of the matrix .

apcomplex, array-like, shape

The triangular matrix , packed by columns.

Returns
acomplex, ndarray, shape

The triangular matrix .

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: or .

(errno )

On entry, error in parameter .

Constraint: .

Notes

ztpttr unpacks a complex triangular matrix , stored in an array of length , to conventional storage in a full format array. 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.