Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

packed storage

anacondgame
Beginner
340 Views
If A is a symmetric matrix:

1 2 3 1 2 3
A= 2 5 4 Up part = 5 4
3 4 6 6


what is the form for the packed storage array of A?

[1 2 5 3 4 6] (for col)

or

[1 2 3 5 4 6] (for row)


?
0 Kudos
1 Reply
Intel_C_Intel
Employee
340 Views

You need to provide a bit more context such as for what function. Are you referring to the symmetric linear solvers in LAPACK? For ?potrf, the matrix is stored full. However, for the packed cases, ?pptrf, you have the option of providing either the upper or lower matrix. In either case the data is stored by columns.

Bruce

0 Kudos
Reply