One simple question about complex number

Yujie recrusader at
Thu Oct 22 14:24:47 CDT 2009

Hi, PETSc Developers,

What is the difference between PETSc complex number and stl::complex. If I
define a variable "var" using stl::complex, whether is it ok to do
"var=2.0+PETSC_i*3.0"?  Thanks a lot.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the petsc-users mailing list