You would simply call MatSetValues() to change those values (or MatSetValuesBlocked, etc). There are no special routines for changing columns.
Barry > On Apr 20, 2015, at 3:05 AM, siddhesh godbole <[email protected]> > wrote: > > Hello, > > I have created a matrix with initial values and i want to change the elements > of the same matrix and in the iterations column wise. how do i insert new > columns into the matrix when calls for assembly begin and end have already > been made? > > I have used MatGetColumnVector to select which column to edit but how do i > store it back into the same matrix? because it seems it does not happen > otherwise. > > Siddhesh M Godbole > > 5th year Dual Degree, > Civil Eng & Applied Mech. > IIT Madras
