naginterfaces.library.matop.ztpttf¶
- naginterfaces.library.matop.ztpttf(transr, uplo, n, ap)[source]¶
ztpttf
copies a complex triangular matrix, stored in a standard packed format array, to a Rectangular Full Packed (RFP) format array.For full information please refer to the NAG Library document for f01vk
https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/f01/f01vkf.html
- Parameters
- transrstr, length 1
Specifies whether the normal RFP representation of or its conjugate transpose is stored.
The RFP representation of the matrix is stored.
The conjugate transpose of the RFP representation of the matrix is stored.
- 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
- arcomplex, ndarray, shape
The upper or lower triangular matrix (as specified by ) in either normal or transposed RFP format (as specified by ). The storage format is described in the F07 Introduction.
- 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: .
- Notes
ztpttf
copies a complex triangular matrix, , stored in packed format, to RFP format. This function is intended for possible use in conjunction with functions from submoduleblas
, submoduleblast
and submodulelapacklin
where some functions that use triangular matrices store them in RFP format. The RFP storage format is described in the F07 Introduction and the packed storage format is described in the F07 Introduction.
- References
Gustavson, F G, Waśniewski, J, Dongarra, J J and Langou, J, 2010, Rectangular full packed format for Cholesky’s algorithm: factorization, solution, and inversion, ACM Trans. Math. Software (37, 2)