15 #ifndef BORNAGAIN_BASE_AXIS_BIN_H
16 #define BORNAGAIN_BASE_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 Z^3, R^3, 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
Bin1DCVector(cvector_t lower, cvector_t upper)
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 m_q_upper
upper bound of the bin
Bin1D(double lower, double upper)
double m_upper
upper bound of the bin
double m_lower
lower bound of the bin