{ } Raw JSON

bundles / scipy 1.18.0 / scipy / sparse / _matrix / spmatrix / getcol

function

scipy.sparse._matrix:spmatrix.getcol

source: /scipy/sparse/_matrix.py:114

Signature

def getcol(self, j)

Summary

Returns a copy of column j of the matrix, as an (m x 1) sparse matrix (column vector).

Aliases

  • scipy.sparse.spmatrix.getcol