BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
A collection of fit parameters.
Public Types | |
using | const_iterator = parameters_t::const_iterator |
using | corr_matrix_t = std::vector< std::vector< double > > |
using | iterator = parameters_t::iterator |
using | parameters_t = std::vector< Parameter > |
Public Member Functions | |
Parameters ()=default | |
void | add (const Parameter &par) |
iterator | begin () |
const_iterator | begin () const |
corr_matrix_t | correlationMatrix () const |
iterator | end () |
const_iterator | end () const |
std::vector< double > | errors () const |
size_t | freeParameterCount () const |
const Parameter & | operator[] (const std::string &name) const |
const Parameter & | operator[] (size_t index) const |
void | setCorrelationMatrix (const corr_matrix_t &matrix) |
void | setErrors (const std::vector< double > &errors) |
void | setValues (const std::vector< double > &values) |
size_t | size () const |
std::vector< double > | values () const |
using mumufit::Parameters::const_iterator = parameters_t::const_iterator |
using mumufit::Parameters::corr_matrix_t = std::vector<std::vector<double> > |
using mumufit::Parameters::iterator = parameters_t::iterator |
using mumufit::Parameters::parameters_t = std::vector<Parameter> |
|
default |
void mumufit::Parameters::add | ( | const Parameter & | par | ) |
iterator mumufit::Parameters::begin | ( | ) |
const_iterator mumufit::Parameters::begin | ( | ) | const |
corr_matrix_t mumufit::Parameters::correlationMatrix | ( | ) | const |
iterator mumufit::Parameters::end | ( | ) |
const_iterator mumufit::Parameters::end | ( | ) | const |
std::vector<double> mumufit::Parameters::errors | ( | ) | const |
size_t mumufit::Parameters::freeParameterCount | ( | ) | const |
const Parameter& mumufit::Parameters::operator[] | ( | const std::string & | name | ) | const |
const Parameter& mumufit::Parameters::operator[] | ( | size_t | index | ) | const |
void mumufit::Parameters::setCorrelationMatrix | ( | const corr_matrix_t & | matrix | ) |
void mumufit::Parameters::setErrors | ( | const std::vector< double > & | errors | ) |
void mumufit::Parameters::setValues | ( | const std::vector< double > & | values | ) |
size_t mumufit::Parameters::size | ( | ) | const |
std::vector<double> mumufit::Parameters::values | ( | ) | const |