[petsc-users] multiplication with sparse vector ?

Matthew Knepley knepley at gmail.com
Mon Feb 22 06:47:51 CST 2010


PETSc does not do this. You would have to be very sparse to beat BLAS, and
then the algorithms change drastically.

   Matt

On Mon, Feb 22, 2010 at 1:00 AM, Zhifeng Sheng - EWI <Z.Sheng at tudelft.nl>wrote:

>  Dear all
>
> I would like to multiply a matrix with a vector that has only a few zeros,
> and I wonder if petsc would take this into account and skip all the
> unnecessary computation with zeros?
>
> Thanks and best regards
> Zhifeng
>



-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100222/ca33b566/attachment.htm>


More information about the petsc-users mailing list