initial values of matrix and vector

Barry Smith bsmith at mcs.anl.gov
Mon Feb 23 20:26:45 CST 2009


    Vectors have all entries equal to zero. Dense matrices have all  
entries equal to zero. Sparse matrices have no entries (logically this  
is the same as entries equal to zero).

    Barry

On Feb 23, 2009, at 8:24 PM, Yixun Liu wrote:

> Hi,
> What's the initial value when I create a matrix or vector?
>
> Thanks.



More information about the petsc-users mailing list