Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Minuit2::MnUserCovariance Class Reference

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 26 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
 
doubleoperator() (unsigned int row, unsigned int col)
 
double operator() (unsigned int row, unsigned int col) const
 
MnUserCovarianceoperator= (const MnUserCovariance &cov)
 
void Scale (double f)
 
unsigned int size () const
 

Private Attributes

std::vector< doublefData
 
unsigned int fNRow
 

#include <Minuit2/MnUserCovariance.h>

Constructor & Destructor Documentation

◆ MnUserCovariance() [1/5]

ROOT::Minuit2::MnUserCovariance::MnUserCovariance ( )
inline

Definition at line 29 of file MnUserCovariance.h.

◆ MnUserCovariance() [2/5]

ROOT::Minuit2::MnUserCovariance::MnUserCovariance ( const std::vector< double > &  data,
unsigned int  nrow 
)
inline

Definition at line 32 of file MnUserCovariance.h.

◆ MnUserCovariance() [3/5]

ROOT::Minuit2::MnUserCovariance::MnUserCovariance ( const double data,
unsigned int  nrow 
)
inline

Definition at line 38 of file MnUserCovariance.h.

◆ MnUserCovariance() [4/5]

ROOT::Minuit2::MnUserCovariance::MnUserCovariance ( unsigned int  n)
inline

Definition at line 43 of file MnUserCovariance.h.

◆ ~MnUserCovariance()

ROOT::Minuit2::MnUserCovariance::~MnUserCovariance ( )
inline

Definition at line 45 of file MnUserCovariance.h.

◆ MnUserCovariance() [5/5]

ROOT::Minuit2::MnUserCovariance::MnUserCovariance ( const MnUserCovariance cov)
inline

Definition at line 47 of file MnUserCovariance.h.

Member Function Documentation

◆ Data()

const std::vector< double > & ROOT::Minuit2::MnUserCovariance::Data ( ) const
inline

Definition at line 82 of file MnUserCovariance.h.

◆ Nrow()

unsigned int ROOT::Minuit2::MnUserCovariance::Nrow ( ) const
inline

Definition at line 84 of file MnUserCovariance.h.

◆ operator()() [1/2]

double & ROOT::Minuit2::MnUserCovariance::operator() ( unsigned int  row,
unsigned int  col 
)
inline

Definition at line 67 of file MnUserCovariance.h.

◆ operator()() [2/2]

double ROOT::Minuit2::MnUserCovariance::operator() ( unsigned int  row,
unsigned int  col 
) const
inline

Definition at line 58 of file MnUserCovariance.h.

◆ operator=()

MnUserCovariance & ROOT::Minuit2::MnUserCovariance::operator= ( const MnUserCovariance cov)
inline

Definition at line 49 of file MnUserCovariance.h.

◆ Scale()

void ROOT::Minuit2::MnUserCovariance::Scale ( double  f)
inline

Definition at line 76 of file MnUserCovariance.h.

◆ size()

unsigned int ROOT::Minuit2::MnUserCovariance::size ( ) const
inline

Definition at line 87 of file MnUserCovariance.h.

Member Data Documentation

◆ fData

std::vector<double> ROOT::Minuit2::MnUserCovariance::fData
private

Definition at line 90 of file MnUserCovariance.h.

◆ fNRow

unsigned int ROOT::Minuit2::MnUserCovariance::fNRow
private

Definition at line 91 of file MnUserCovariance.h.

Libraries for ROOT::Minuit2::MnUserCovariance:

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