[petsc-users] change the column order of a dense matrix

Barry Smith bsmith at mcs.anl.gov
Thu Jan 7 16:20:41 CST 2010



   I assume you mean by this you want swap columns of numerical  
values? You can use MatGetArray() to access the values and do it with  
a regular loop.

    Barry


On Jan 7, 2010, at 3:35 PM, Umut Tabak wrote:

> Is that possible to change the column order of a dense matrix with a  
> built-in or combination of built-in function(s)?
> Best,
> Umut



More information about the petsc-users mailing list