finesse.cymath.cmatrix.CCSMatrix.get_matrix_elements

CCSMatrix.get_matrix_elements(self)

Returns the sparse CCS format for the current state of this matrix.

Returns
datalist[complex]

Value of each non-zero element

rowslist[complex]

Row index of each non-zero element

colslist[complex]

Column index of each non-zero element