class_docstr: Class for sparse matrix.
class_docstr_tok: ["Class","for","sparse","matrix","."]
docstr: Returns the compressed sparse column (CSC) representation of the
  sparse matrix.
  
  See `CSC in Wikipedia <https://en.wikipedia.org/wiki/
  Sparse_matrix#Compressed_sparse_column_(CSC_or_CCS)>`_.
  
  This function also returns value indices as an index tensor, indicating
  the order of the values of non-zero elements in the CSC representation.
  A ``None`` value indices array indicates the order of the values stays
  the same as the values of the SparseMatrix.
  
  Returns
  -------
  torch.Tensor
      Column indptr
  torch.Tensor
      Row indices
  torch.Tensor
      Value indices
  
  Examples
  --------
  
  >>> indices = torch.tensor([[1, 2, 1], [2, 4, 3]])
  >>> A = dglsp.spmatrix(indices)
  >>> A.csc()
  (tensor([0, 0, 0, 1, 2, 3]), tensor([1, 1, 2]), tensor([0, 2, 1]))
docstr_tok: ["Returns","the","compressed","sparse","column","(","CSC",")","representation","of","the","sparse","matrix",".","See","`","CSC","in","Wikipedia","<","https",":","\/\/en.wikipedia.org\/wiki\/","Sparse_matrix","#","Compressed_sparse_column_","(","CSC_or_CCS",")",">","`","_",".","This","function","also","returns","value","indices","as","an","index","tensor",",","indicating","the","order","of","the","values","of","non-zero","elements","in","the","CSC","representation",".","A","``","None","``","value","indices","array","indicates","the","order","of","the","values","stays","the","same","as","the","values","of","the","SparseMatrix",".","Returns","--","--","--","-","torch.Tensor","Column","indptr","torch.Tensor","Row","indices","torch.Tensor","Value","indices","Examples","--","--","--","--",">",">",">","indices","=","torch.tensor","(","[","[","1",",","2",",","1","]",",","[","2",",","4",",","3","]","]",")",">",">",">","A","=","dglsp.spmatrix","(","indices",")",">",">",">","A.csc","(",")","(","tensor","(","[","0",",","0",",","0",",","1",",","2",",","3","]",")",",","tensor","(","[","1",",","1",",","2","]",")",",","tensor","(","[","0",",","2",",","1","]",")",")"]
code: def csc(self) -> Tuple[torch.Tensor, torch.Tensor, torch.Tensor]:
      r"""Returns the compressed sparse column (CSC) representation of the
      sparse matrix.
  
      See `CSC in Wikipedia <https://en.wikipedia.org/wiki/
      Sparse_matrix#Compressed_sparse_column_(CSC_or_CCS)>`_.
  
      This function also returns value indices as an index tensor, indicating
      the order of the values of non-zero elements in the CSC representation.
      A ``None`` value indices array indicates the order of the values stays
      the same as the values of the SparseMatrix.
  
      Returns
      -------
      torch.Tensor
          Column indptr
      torch.Tensor
          Row indices
      torch.Tensor
          Value indices
  
      Examples
      --------
  
      >>> indices = torch.tensor([[1, 2, 1], [2, 4, 3]])
      >>> A = dglsp.spmatrix(indices)
      >>> A.csc()
      (tensor([0, 0, 0, 1, 2, 3]), tensor([1, 1, 2]), tensor([0, 2, 1]))
      """
      return self.c_sparse_matrix.csc()
  
imports: from typing import Optional, Tuple
  import torch
label_desc: Use image node_id 13 for calling the SparseMatrix obj's underlying member method code with example usage: obj.csc() and returns: self