Vector of upper triangle

[A[i, j] for j in indices(A, 1) for i in 1:j]

It’s allocating a little more than expected, though.

2 Likes