SciPy.org SciPy 0.6.0 API Documentation Generated by Endo, 2007-10-17
Compressed sparse column matrix
This can be instantiated in several ways:
  - csc_matrix(d)
    with a dense matrix d

  - csc_matrix(s)
    with another sparse matrix s (sugar for .tocsc())

  - csc_matrix((M, N), [nzmax, dtype])
    to construct a container, where (M, N) are dimensions and
    nzmax, dtype are optional, defaulting to nzmax=sparse.NZMAX
    and dtype='d'.

  - csc_matrix((data, ij), [(M, N), nzmax])
    where data, ij satisfy:
        a[ij[0, k], ij[1, k]] = data[k]

  - csc_matrix((data, row, ptr), [(M, N)])
    standard CSC representation

Method summary

Methods