BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
Complex.h File Reference

Defines complex_t, and a few elementary functions. More...

Go to the source code of this file.

Typedefs

using complex_t = std::complex< double >
 

Functions

complex_t mul_I (complex_t z)
 Returns product I*z, where I is the imaginary unit.
 
complex_t exp_I (complex_t z)
 Returns exp(I*z), where I is the imaginary unit.
 

Variables

constexpr complex_t I = complex_t(0.0, 1.0)
 

Detailed Description

Defines complex_t, and a few elementary functions.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file Complex.h.