One simple question about complex number

Yujie recrusader at gmail.com
Thu Oct 22 15:11:59 CDT 2009


Thank you for you reply, Satish. STL is Standard Template Library. I think
stl::complex should be the same with std::complex.

Regards,
Yujie

On Thu, Oct 22, 2009 at 3:05 PM, Satish Balay <balay at mcs.anl.gov> wrote:

> 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
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20091022/5a637134/attachment.htm>


More information about the petsc-users mailing list