F01VAF (DTRTTP) copies a real triangular matrix stored in full format in a two-dimensional array to a standard packed format in a one-dimensional array.
Packed storage format is described in Section 3.3.2
in the F07 Chapter Introduction.
F01VAF (DTRTTP) packs a real
, stored conventionally in a two-dimensional array, into a one-dimensional array of length
. The matrix is packed by columns. This routine is intended for possible use in conjunction with routines from Chapters F06
where some routines use triangular matrices stored in the packed form.
This example reads in a triangular matrix and copies it to packed format.