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

Description

Definition at line 20 of file Bin.h.

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 
)
inline

Definition at line 23 of file Bin.h.

24  : m_lower(lower)
25  , m_upper(upper)
26  {
27  }
double m_upper
upper bound of the bin
Definition: Bin.h:29
double m_lower
lower bound of the bin
Definition: Bin.h:28

Member Function Documentation

◆ binSize()

double Bin1D::binSize ( ) const
inline

◆ center()

Member Data Documentation

◆ m_lower

◆ m_upper

double Bin1D::m_upper {0}

The documentation for this class was generated from the following file: