Functions | Variables
emconstants.h File Reference
#include <cmath>
#include <complex>
Include dependency graph for emconstants.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


const std::complex< float > iimag (0.f, 1.f)


const long double pi = 3.141592653589793238462643383279502884197L
const long double twopi = 2*pi
const long double pihalf = pi/2
const long double dgr_to_rad = pi/180
const long double rad_to_dgr = 180/pi
const double e_base = std::exp(1.)
const double sqrt2 = std::sqrt(2.)

Function Documentation

const std::complex<float> iimag ( 0.  f,
1.  f 

Variable Documentation

const long double dgr_to_rad = pi/180

Definition at line 40 of file emconstants.h.

Referenced by apmq(), aprq2d(), and EMAN::ChaoProjector::setdm().

const double e_base = std::exp(1.)

Definition at line 42 of file emconstants.h.

const long double pi = 3.141592653589793238462643383279502884197L
const long double pihalf = pi/2

Definition at line 39 of file emconstants.h.

Referenced by EMAN::Processor::EMFourierFilterFunc().

const long double rad_to_dgr = 180/pi

Definition at line 41 of file emconstants.h.

const double sqrt2 = std::sqrt(2.)

Definition at line 43 of file emconstants.h.

const long double twopi = 2*pi