finesse.cmatrix.SubCCSMatrixView

Overview

class finesse.cmatrix.SubCCSMatrixView(CCSMatrix Matrix, Py_ssize_t _from, Py_ssize_t _to, unicode name)

This class represents a sub-matrix view of a CCS sparse matrix. This allows code to access and set values without worrying about the underlying sparse compression being used. Although so far this is just for CCS formats.

This object will get a view of a n-by-m sub-matrix starting at index (i,j). The values of his matrix will be set initially to the coordinates.