BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
class dealing with the transformation between user specified parameters (external) and internal parameters used for minimization
Definition at line 38 of file MnUserTransformation.h.
Public Member Functions | |
MnUserTransformation () | |
MnUserTransformation (const MnUserTransformation &trafo) | |
MnUserTransformation (const std::vector< double > &, const std::vector< double > &) | |
~MnUserTransformation () | |
bool | Add (const std::string &, double) |
bool | Add (const std::string &, double, double) |
bool | Add (const std::string &, double, double, double, double) |
double | DInt2Ext (unsigned int, double) const |
double | Error (const std::string &) const |
double | Error (unsigned int) const |
std::vector< double > | Errors () const |
double | Ext2int (unsigned int, double) const |
unsigned int | ExtOfInt (unsigned int internal) const |
int | FindIndex (const std::string &) const |
void | Fix (const std::string &) |
void | Fix (unsigned int) |
const std::string & | GetName (unsigned int) const |
unsigned int | Index (const std::string &) const |
const std::vector< double > & | InitialParValues () const |
double | Int2ext (unsigned int, double) const |
MnUserCovariance | Int2extCovariance (const MnAlgebraicVector &, const MnAlgebraicSymMatrix &) const |
double | Int2extError (unsigned int, double, double) const |
unsigned int | IntOfExt (unsigned int) const |
const char * | Name (unsigned int) const |
std::vector< double > | operator() (const MnAlgebraicVector &) const |
MnUserTransformation & | operator= (const MnUserTransformation &trafo) |
const MinuitParameter & | Parameter (unsigned int) const |
const std::vector< MinuitParameter > & | Parameters () const |
std::vector< double > | Params () const |
access to parameters and errors in column-wise representation More... | |
const MnMachinePrecision & | Precision () const |
void | Release (const std::string &) |
void | Release (unsigned int) |
void | RemoveLimits (const std::string &) |
void | RemoveLimits (unsigned int) |
void | SetError (const std::string &, double) |
void | SetError (unsigned int, double) |
void | SetLimits (const std::string &, double, double) |
void | SetLimits (unsigned int, double, double) |
void | SetLowerLimit (const std::string &, double) |
void | SetLowerLimit (unsigned int, double) |
void | SetName (unsigned int, const std::string &) |
void | SetPrecision (double eps) |
void | SetUpperLimit (const std::string &, double) |
void | SetUpperLimit (unsigned int, double) |
void | SetValue (const std::string &, double) |
void | SetValue (unsigned int, double) |
double | Value (const std::string &) const |
double | Value (unsigned int) const |
unsigned int | VariableParameters () const |
Private Attributes | |
std::vector< double > | fCache |
SinParameterTransformation | fDoubleLimTrafo |
std::vector< unsigned int > | fExtOfInt |
SqrtLowParameterTransformation | fLowerLimTrafo |
std::vector< MinuitParameter > | fParameters |
MnMachinePrecision | fPrecision |
SqrtUpParameterTransformation | fUpperLimTrafo |
|
inline |
Definition at line 42 of file MnUserTransformation.h.
ROOT::Minuit2::MnUserTransformation::MnUserTransformation | ( | const std::vector< double > & | , |
const std::vector< double > & | |||
) |
|
inline |
Definition at line 52 of file MnUserTransformation.h.
|
inline |
Definition at line 54 of file MnUserTransformation.h.
bool ROOT::Minuit2::MnUserTransformation::Add | ( | const std::string & | , |
double | |||
) |
bool ROOT::Minuit2::MnUserTransformation::Add | ( | const std::string & | , |
double | , | ||
double | |||
) |
bool ROOT::Minuit2::MnUserTransformation::Add | ( | const std::string & | , |
double | , | ||
double | , | ||
double | , | ||
double | |||
) |
double ROOT::Minuit2::MnUserTransformation::DInt2Ext | ( | unsigned int | , |
double | |||
) | const |
double ROOT::Minuit2::MnUserTransformation::Error | ( | const std::string & | ) | const |
double ROOT::Minuit2::MnUserTransformation::Error | ( | unsigned int | ) | const |
std::vector<double> ROOT::Minuit2::MnUserTransformation::Errors | ( | ) | const |
double ROOT::Minuit2::MnUserTransformation::Ext2int | ( | unsigned int | , |
double | |||
) | const |
|
inline |
Definition at line 103 of file MnUserTransformation.h.
References fExtOfInt.
int ROOT::Minuit2::MnUserTransformation::FindIndex | ( | const std::string & | ) | const |
void ROOT::Minuit2::MnUserTransformation::Fix | ( | const std::string & | ) |
void ROOT::Minuit2::MnUserTransformation::Fix | ( | unsigned int | ) |
const std::string& ROOT::Minuit2::MnUserTransformation::GetName | ( | unsigned int | ) | const |
unsigned int ROOT::Minuit2::MnUserTransformation::Index | ( | const std::string & | ) | const |
|
inline |
Definition at line 115 of file MnUserTransformation.h.
References fCache.
double ROOT::Minuit2::MnUserTransformation::Int2ext | ( | unsigned int | , |
double | |||
) | const |
MnUserCovariance ROOT::Minuit2::MnUserTransformation::Int2extCovariance | ( | const MnAlgebraicVector & | , |
const MnAlgebraicSymMatrix & | |||
) | const |
double ROOT::Minuit2::MnUserTransformation::Int2extError | ( | unsigned int | , |
double | , | ||
double | |||
) | const |
unsigned int ROOT::Minuit2::MnUserTransformation::IntOfExt | ( | unsigned int | ) | const |
const char* ROOT::Minuit2::MnUserTransformation::Name | ( | unsigned int | ) | const |
std::vector<double> ROOT::Minuit2::MnUserTransformation::operator() | ( | const MnAlgebraicVector & | ) | const |
|
inline |
Definition at line 61 of file MnUserTransformation.h.
References fCache, fDoubleLimTrafo, fExtOfInt, fLowerLimTrafo, fParameters, fPrecision, and fUpperLimTrafo.
const MinuitParameter& ROOT::Minuit2::MnUserTransformation::Parameter | ( | unsigned int | ) | const |
|
inline |
Definition at line 108 of file MnUserTransformation.h.
References fParameters.
std::vector<double> ROOT::Minuit2::MnUserTransformation::Params | ( | ) | const |
access to parameters and errors in column-wise representation
|
inline |
forwarded interface
Definition at line 122 of file MnUserTransformation.h.
References fPrecision.
Referenced by ROOT::Minuit2::BasicMinimumSeed::Precision().
void ROOT::Minuit2::MnUserTransformation::Release | ( | const std::string & | ) |
void ROOT::Minuit2::MnUserTransformation::Release | ( | unsigned int | ) |
void ROOT::Minuit2::MnUserTransformation::RemoveLimits | ( | const std::string & | ) |
void ROOT::Minuit2::MnUserTransformation::RemoveLimits | ( | unsigned int | ) |
void ROOT::Minuit2::MnUserTransformation::SetError | ( | const std::string & | , |
double | |||
) |
void ROOT::Minuit2::MnUserTransformation::SetError | ( | unsigned int | , |
double | |||
) |
void ROOT::Minuit2::MnUserTransformation::SetLimits | ( | const std::string & | , |
double | , | ||
double | |||
) |
void ROOT::Minuit2::MnUserTransformation::SetLimits | ( | unsigned int | , |
double | , | ||
double | |||
) |
void ROOT::Minuit2::MnUserTransformation::SetLowerLimit | ( | const std::string & | , |
double | |||
) |
void ROOT::Minuit2::MnUserTransformation::SetLowerLimit | ( | unsigned int | , |
double | |||
) |
void ROOT::Minuit2::MnUserTransformation::SetName | ( | unsigned int | , |
const std::string & | |||
) |
|
inline |
Definition at line 123 of file MnUserTransformation.h.
References fPrecision, and ROOT::Minuit2::MnMachinePrecision::SetPrecision().
Referenced by ROOT::Minuit2::MnUserParameters::SetPrecision().
void ROOT::Minuit2::MnUserTransformation::SetUpperLimit | ( | const std::string & | , |
double | |||
) |
void ROOT::Minuit2::MnUserTransformation::SetUpperLimit | ( | unsigned int | , |
double | |||
) |
void ROOT::Minuit2::MnUserTransformation::SetValue | ( | const std::string & | , |
double | |||
) |
void ROOT::Minuit2::MnUserTransformation::SetValue | ( | unsigned int | , |
double | |||
) |
double ROOT::Minuit2::MnUserTransformation::Value | ( | const std::string & | ) | const |
double ROOT::Minuit2::MnUserTransformation::Value | ( | unsigned int | ) | const |
|
inline |
Definition at line 112 of file MnUserTransformation.h.
References fExtOfInt.
Referenced by ROOT::Minuit2::MnUserParameters::VariableParameters().
|
mutableprivate |
Definition at line 188 of file MnUserTransformation.h.
Referenced by InitialParValues(), and operator=().
|
private |
Definition at line 184 of file MnUserTransformation.h.
Referenced by operator=().
|
private |
Definition at line 182 of file MnUserTransformation.h.
Referenced by ExtOfInt(), operator=(), and VariableParameters().
|
private |
Definition at line 186 of file MnUserTransformation.h.
Referenced by operator=().
|
private |
Definition at line 181 of file MnUserTransformation.h.
Referenced by operator=(), and Parameters().
|
private |
Definition at line 179 of file MnUserTransformation.h.
Referenced by operator=(), Precision(), and SetPrecision().
|
private |
Definition at line 185 of file MnUserTransformation.h.
Referenced by operator=().