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

Description

A parameter value with a weight, as obtained when sampling from a distribution.

Public Member Functions

 ParameterSample (double _value, double _weight=1)
 

Public Attributes

double value
 
double weight
 

Constructor & Destructor Documentation

◆ ParameterSample()

ParameterSample::ParameterSample ( double  _value,
double  _weight = 1 
)

Member Data Documentation

◆ value

double ParameterSample::value

◆ weight

double ParameterSample::weight