finesse.cymath.cmatrix.CCSMatrix.construct

CCSMatrix.construct(self, double complex diagonal_fill=complex(1, 0))

Constructing the matrix involves taking the metadata submatrix positions throughout the matrix and allocating the memory and building the various CCS matrix structures. After this the matrix can be populated and solved.

Parameters
diagonal_fillcomplex_t, optional

Value to fill the diagonal of the matrix with; defaults to 1+0j