BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Class containing the covariance matrix data represented as a vector of size n*(n+1)/2 Used to hide internal matrix representation to user
Definition at line 27 of file MnUserCovariance.h.
Public Member Functions | |
MnUserCovariance () | |
MnUserCovariance (const double *data, unsigned int nrow) | |
MnUserCovariance (const MnUserCovariance &cov) | |
MnUserCovariance (const std::vector< double > &data, unsigned int nrow) | |
MnUserCovariance (unsigned int n) | |
~MnUserCovariance () | |
const std::vector< double > & | Data () const |
unsigned int | Nrow () const |
double & | operator() (unsigned int row, unsigned int col) |
double | operator() (unsigned int row, unsigned int col) const |
MnUserCovariance & | operator= (const MnUserCovariance &cov) |
void | Scale (double f) |
unsigned int | size () const |
Private Attributes | |
std::vector< double > | fData |
unsigned int | fNRow |
|
inline |
Definition at line 31 of file MnUserCovariance.h.
|
inline |
Definition at line 34 of file MnUserCovariance.h.
|
inline |
Definition at line 40 of file MnUserCovariance.h.
|
inline |
Definition at line 45 of file MnUserCovariance.h.
|
inline |
Definition at line 48 of file MnUserCovariance.h.
|
inline |
Definition at line 50 of file MnUserCovariance.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 76 of file MnUserCovariance.h.
References fData.
|
inline |
|
private |
Definition at line 91 of file MnUserCovariance.h.
Referenced by Data(), operator()(), operator=(), Scale(), and size().
|
private |
Definition at line 92 of file MnUserCovariance.h.
Referenced by Nrow(), operator()(), and operator=().