lenskit.data.matrix.CSRStructure ================================ .. py:class:: lenskit.data.matrix.CSRStructure Bases: :py:obj:`NamedTuple` Representation of the compressed sparse row structure of a sparse matrix, without any data values. :Stability: Caller .. py:attribute:: rowptrs :type: numpy.ndarray .. py:attribute:: colinds :type: numpy.ndarray .. py:attribute:: shape :type: tuple[int, int] .. py:property:: nrows .. py:property:: ncols .. py:property:: nnz .. py:property:: row_nnzs :type: lenskit.data.types.NPVector[numpy.int32] Array of row sizes (number of nonzeros in each row). .. py:method:: extent(row) .. py:method:: row_cs(row)