Indexing functions for symmetric matrices.
The size of the matrix.
Get elements in the column at index j.
Get the element at position (i, j).
Get elements in the row at index i.