Packed storage matrix
= Packed storage matrix
{wiki=Packed_storage_matrix}
A Packed Storage Matrix (PSM) is a data structure used to efficiently store and manipulate sparse matrices, which contain a significant number of zero elements. Instead of storing all matrix elements in a standard two-dimensional array (which would consume a lot of memory for large matrices), a packed storage format only saves the non-zero entries along with any necessary information to reconstruct the matrix.