-mat_view_matlab or just before calling the MatView() call
ierr =
PetscViewerPushFormat(viewer,PETSC_VIEWER_ASCII_MATLAB);CHKERRQ(ierr);On Mon, 29 Oct 2007, John R. Wicks wrote: > How can I set the precision of my output? I use an ASCII viewer to write > the computed vector to a file and many of the entries should on the order of > 10^-9, but they seem to be printing out at 0. How can I get it to print to > higher precision? > >
