[petsc-users] how to determine if complex matrix has imaginary components

Matthew Knepley knepley at gmail.com
Fri Dec 28 11:37:48 CST 2012


On Fri, Dec 28, 2012 at 11:58 AM, Jim Fonseca <jefonseca at gmail.com> wrote:

> Hi,
> Is there a computationally fast way to determine if the imaginary
> components of a matrix are zero or very small?
>

I can't think of anything faster than checking each entry.

   Matt


> Thanks,
> Jim
>
>
> --
> Jim Fonseca, PhD
> Research Scientist
> Network for Computational Nanotechnology
> Purdue University
> 765-496-6495
> www.jimfonseca.com
>
>
>


-- 
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/20121228/bf5adb13/attachment.html>


More information about the petsc-users mailing list