You can use std::exp with complex numbers. For example, std::exp(std::complex<double>(0, 2*M_PI)).
– jtbandes
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
std::exp(std::complex<double>(0, 2*M_PI))
. – jtbandes