finesse.cymath.cmatrix.SubCCSMatrixViewDiagonal

Overview

class finesse.cymath.cmatrix.SubCCSMatrixViewDiagonal

Bases: SubCCSView

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.