have a problem with using complex number

+1 hilmi kumdakçı · March 8, 2015
hello guys , in my code i needed to use complex number i. I used complex library but still i is not defined as a number . what else should i do to define it in c++ ?

Post a Reply

Replies

Oldest  Newest  Rating
0 Dol Lod · March 8, 2015
What exactly is i?
0 c student · March 8, 2015
i^2 is defined as -1, therefore i is sqrt(-1).
0 hilmi kumdakçı · March 8, 2015
yeah i is sqrt(-1) and i also defined this value as an i complex number .
0 c student · March 8, 2015
what mathematics are you planning to perform with these complex numbers?
  • 1

C++

107,326 followers
About

Used in many types of software including music players, video games, and many large scale applications.

Links
Moderators
Bucky Roberts Administrator