scipy.sparse.lil_matrix.

tolil#

lil_matrix.tolil(copy=False)[原始碼]#

將此陣列/矩陣轉換為列表格式。

當 copy=False 時,此陣列/矩陣與產生的 lil_array/matrix 之間可能會共用資料/索引。