[petsc-users] PETSc random number generator

Xujun Zhao xzhao99 at gmail.com
Thu Sep 3 10:11:34 CDT 2015


Hi all,

I need random Vectors with both Gaussian distribution and uniform
distribution. I notice that PETSc has VecSetRandom() function. I am curious
what types of distribution this function can generate. Thank you for your
answer.

Xujun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150903/5104c0ae/attachment.html>


More information about the petsc-users mailing list