I have a complex double array eigenvalues of which I want to get the natural logarithm of each entry by using clog.
for (int i = 0; i < n; ++i)
{
qq[i] = clog(eigenvalues[i]);
}
I already dropped the using namespace std; but am still getting error: reference to 'clog' is ambiguous.
How can I make it clear that I want to use the clog from complex.h and not from iostream?