set a column of a matrix

Matthew Knepley knepley at
Sun Nov 1 07:19:36 CST 2009

This is not an efficient parallel operation. You should probably rework your
so that it is not necessary.


On Sun, Nov 1, 2009 at 6:01 AM, Umut Tabak <u.tabak at> wrote:

> 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?
>     BR,
>     Umut
> --
> Quote:          I love the name of honor, more than I fear death.
> Author:         Julius Caesar 101-44 BC, Roman Emperor

What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the petsc-users mailing list