This is a very simple question. For SciPy sparse matrices like coo_matrix, how does one access individual elements?
To give an analogy to Eigen linear algebra library. One can access element (i,j) using coeffRef as follows:
myMatrix.coeffRef(i,j)
This is a very simple question. For SciPy sparse matrices like coo_matrix, how does one access individual elements?
To give an analogy to Eigen linear algebra library. One can access element (i,j) using coeffRef as follows:
myMatrix.coeffRef(i,j)