15 #ifndef BORNAGAIN_BASE_TYPES_COMPLEX_H
16 #define BORNAGAIN_BASE_TYPES_COMPLEX_H
32 return std::exp(
complex_t(-z.imag(), z.real()));
complex_t mul_I(complex_t z)
Returns product I*z, where I is the imaginary unit.
std::complex< double > complex_t
complex_t exp_I(complex_t z)
Returns exp(I*z), where I is the imaginary unit.