scipy.sparse.dok_matrix.

getcol#

dok_matrix.getcol(j)[source]#

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