# naginterfaces.library.matop.dtpttr¶

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

dtpttr unpacks a real 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 f01vc

https://www.nag.com/numeric/nl/nagdoc_28.4/flhtml/f01/f01vcf.html

Parameters
uplostr, length 1

Specifies whether is upper or lower triangular.

is upper triangular.

is lower triangular.

nint

, the order of the matrix .

apfloat, array-like, shape

The triangular matrix , packed by columns.

Returns
afloat, ndarray, shape

The triangular matrix .

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: or .

(errno )

On entry, error in parameter .

Constraint: .

Notes

dtpttr unpacks a real 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.