BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
Bin1D Class Reference

Public Member Functions

 Bin1D ()=default
 
 Bin1D (double lower, double upper)
 
double binSize () const
 
double center () const
 

Public Attributes

double m_lower {0}
 lower bound of the bin More...
 
double m_upper {0}
 upper bound of the bin More...
 

Constructor & Destructor Documentation

◆ Bin1D() [1/2]

Bin1D::Bin1D ( )
default

◆ Bin1D() [2/2]

Bin1D::Bin1D ( double  lower,
double  upper 
)

Member Function Documentation

◆ binSize()

double Bin1D::binSize ( ) const

◆ center()

double Bin1D::center ( ) const

Member Data Documentation

◆ m_lower

double Bin1D::m_lower {0}

lower bound of the bin

◆ m_upper

double Bin1D::m_upper {0}

upper bound of the bin