[petsc-users] To store the matrix.

Vijay S. Mahadevan vijay.m at gmail.com
Thu Jul 14 13:52:30 CDT 2011


> Yes, but a binary viewer should be used for this instead.

Agreed. But for small problems in debug scenarios, it is useful to
check the entries in ascii format.

> You mean the ASCII MATLAB format? You can view binary matrices to Matlab
> without any text representation.

Yes. Do you mean the PetscBinaryRead/Write approach for storing in
matlab readable binary ?

On Thu, Jul 14, 2011 at 1:45 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> On Thu, Jul 14, 2011 at 13:39, Vijay S. Mahadevan <vijay.m at gmail.com> wrote:
>>
>> I think the format is useful to serialize a matrix into MATLAB format.
>
> Yes, but a binary viewer should be used for this instead.
>
>>
>> I am unsure if PETSC_VIEWER_MATLAB already provides this functionality
>> for matrices.
>
> You mean the ASCII MATLAB format? You can view binary matrices to Matlab
> without any text representation.


More information about the petsc-users mailing list