15 #ifndef BORNAGAIN_CORE_AXIS_BIN_H
16 #define BORNAGAIN_CORE_AXIS_BIN_H
bool BinContains(const Bin1D &bin, double value)
Checks if value is contained in bin: value in [m_lower, m_upper)
Defines basic vectors in R^3 and C^3.
An one-dimensional range of cvector_t's.
cvector_t m_q_lower
lower bound of the bin
cvector_t m_q_upper
upper bound of the bin
cvector_t getDelta() const
Bin1DCVector(cvector_t lower, cvector_t upper)
cvector_t getMidPoint() const
const double wavelength(0.154)
An one-dimensional range of kvector_t's.
Bin1DKVector(const kvector_t lower, const kvector_t upper)
kvector_t m_q_lower
lower bound of the bin
kvector_t getMidPoint() const
kvector_t m_q_upper
upper bound of the bin
kvector_t getDelta() const
Bin1D(double lower, double upper)
double m_upper
upper bound of the bin
double getBinSize() const
double m_lower
lower bound of the bin
double getMidPoint() const