finesse.cymath.cmatrix.CCSMatrix.to_scipy_csc

CCSMatrix.to_scipy_csc(self)

Converts the current matrix to a scipy CSC (Compressed Sparse Column) sparse matrix.

This method retrieves the matrix elements using the get_matrix_elements method and then uses these elements to create a scipy CSC sparse matrix.

Returns
csc_matrix

The scipy CSC sparse matrix representation of the current matrix.