[petsc-users] Fwd: matrix dot product multiplication with petsc

Matthew Knepley knepley at gmail.com
Mon Jul 23 21:20:31 CDT 2012


On Mon, Jul 23, 2012 at 9:18 PM, Nicholas Pezolano <npezolano at gmail.com>wrote:

> @Matt,
>
>  thanks but this is just general matrix multiplication , not the dot
> product multiplication's for a matrix
>

Please explain to me the difference.

   Matt


>
> @Jed Brown
>
> I am trying to draw random numbers from a complex multivariate mixture
> distribution needed for a monte carlo simulation.  X:= mu + Lambda.* W +
> gamma.*sqrt(W) , where they are all NxN dense matrices of equal size  where
> N ranges from 100,000 to 2,000,000. I need to do the dot product
> multiplication and addition for every part of this distribution. Would
> petsc be the right tool for this or should i just stick to C and mpi. I've
> already used many petsc functions that have made life much eaiser
>



-- 
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/20120723/da27f212/attachment.html>


More information about the petsc-users mailing list