Gaurish Telang wrote: > i have this large text file containing a matrix. > This text file contains the non-zero entries of a very large sparse > matrix > Read the documentation on MatSetValues function. It is a starting point.