Neat trick. MatGetRow will give me the row of the matrix, so would then
need a little loop to examine the elements and proceed as you suggested;
am I right?
Mark
I guess there is no way to directly access the sparsity pattern then?
Thanks for the suggestion.
Best, Toby
-----
Toby D. Young (Adiunkt) Department of Computational Science Institute of Fundamental Technological Research Polish Academy of Science Room 206, ul. Swietokrzyska 21 00-049 Warszawa, POLAND
********************************************************************** Mark Adams Ph.D. Columbia University 289 Engineering Terrace MC 4701 New York NY 10027 adams@xxxxxxxx www.columbia.edu/~ma2325 voice: 212.854.4485 fax: 212.854.8257 **********************************************************************