Complex Numbers in C++

Yilmaz Yoru
C++ Builder

--

In mathematics, a Complex Number is a number that is composed with real numbers and imaginary with ‘i’ symbol, in the form a + bi. Here a is called the real part and b is called the imaginary part. Complex numbers come from satisfying the equation i2 = −1. Because there is no real number to satisfy this equation, but we can use complex numbers with this i (imaginary number by René Descartes) to solve our these kind of problems.

In C++ there is a complex library that implements the complex class to contain complex numbers in cartesian form and many methods and properties to operate with in complex forms. In this post we will give some of basics to use complex numbers in C++.

https://learncplusplus.org/what-you-need-to-use-complex-numbers-in-c-software/

--

--

Yilmaz Yoru
C++ Builder

Mechanical Engineer (MSc PhD), Developer, Founder of Esenja Company, Embarcadero C++ Builder MVP