linalg:to-list
(linalg:to-list array)
Converts a linalg array back into a list: a vector becomes a flat list, and a matrix becomes a list of row lists. It is the inverse of linalg:from-list, useful for handing array contents to list functions like mapcar or reduce.