Add method to return pointer representation of nonzero elements by row.