One simple question about complex number

Satish Balay balay at mcs.anl.gov
Thu Oct 22 15:05:56 CDT 2009


we use 'std:complex' with --with-clanguage=cxx [and with c - we use
c99 complex support]. I'm not sure what stl::complex is.

Satish

On Thu, 22 Oct 2009, Yujie wrote:

> 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.
> 
> Regards,
> Yujie
> 



More information about the petsc-users mailing list