scipy.sparse.dia_matrix.

getcol#

dia_matrix.getcol(j)[source]#

返回矩陣第 j 列的副本,作為 (m x 1) 稀疏矩陣(列向量)。