Logo ROOT   master
Reference Guide
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 27 of file MnUserCovariance.h.

Public Member Functions

 MnUserCovariance ()
 
 MnUserCovariance (const std::vector< double > &data, unsigned int nrow)
 
 MnUserCovariance (const double *data, unsigned int nrow)
 
 MnUserCovariance (unsigned int n)
 
 MnUserCovariance (const MnUserCovariance &cov)
 
 ~MnUserCovariance ()
 
const std::vector< double > & Data () const
 
unsigned int Nrow () const
 
double operator() (unsigned int row, unsigned int col) const
 
doubleoperator() (unsigned int row, unsigned int col)
 
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 31 of file MnUserCovariance.h.

◆ MnUserCovariance() [2/5]

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

Definition at line 34 of file MnUserCovariance.h.

◆ MnUserCovariance() [3/5]

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

Definition at line 40 of file MnUserCovariance.h.

◆ MnUserCovariance() [4/5]

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

Definition at line 45 of file MnUserCovariance.h.

◆ ~MnUserCovariance()

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

Definition at line 48 of file MnUserCovariance.h.

◆ MnUserCovariance() [5/5]

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

Definition at line 50 of file MnUserCovariance.h.

Member Function Documentation

◆ Data()

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

Definition at line 80 of file MnUserCovariance.h.

◆ Nrow()

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

Definition at line 82 of file MnUserCovariance.h.

◆ operator()() [1/2]

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

Definition at line 60 of file MnUserCovariance.h.

◆ operator()() [2/2]

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

Definition at line 68 of file MnUserCovariance.h.

◆ operator=()

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

Definition at line 52 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 85 of file MnUserCovariance.h.

Member Data Documentation

◆ fData

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

Definition at line 91 of file MnUserCovariance.h.

◆ fNRow

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

Definition at line 92 of file MnUserCovariance.h.

Libraries for ROOT::Minuit2::MnUserCovariance:
[legend]

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