set a column of a matrix

Umut Tabak u.tabak at
Sun Nov 1 05:01:12 CST 2009

Dear all,

     I would like to set a column of a matrix, I read through the manual
     pages a bit... Since the matrices are row oriented in PETSc and
     there is a function MatSetValuesRow, I guess transposing my
     original matrix and then using this function is the best option I
     could see for the moment. Could you comment on this?

Quote:    	I love the name of honor, more than I fear death.
Author:   	Julius Caesar 101-44 BC, Roman Emperor

More information about the petsc-users mailing list