ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes | List of all members
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 29 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 ()
 
 MnUserCovariance (const MnUserCovariance &cov)
 
MnUserCovarianceoperator= (const MnUserCovariance &cov)
 
double operator() (unsigned int row, unsigned int col) const
 
doubleoperator() (unsigned int row, unsigned int col)
 
void Scale (double f)
 
const std::vector< double > & Data () const
 
unsigned int Nrow () const
 
unsigned int size () const
 

Private Attributes

std::vector< doublefData
 
unsigned int fNRow
 

#include <Minuit2/MnUserCovariance.h>

Constructor & Destructor Documentation

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

Definition at line 33 of file MnUserCovariance.h.

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

Definition at line 36 of file MnUserCovariance.h.

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

Definition at line 42 of file MnUserCovariance.h.

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

Definition at line 47 of file MnUserCovariance.h.

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

Definition at line 50 of file MnUserCovariance.h.

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

Definition at line 52 of file MnUserCovariance.h.

Member Function Documentation

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

Definition at line 82 of file MnUserCovariance.h.

Referenced by ROOT::Minuit2::MnUserParameterState::Hessian().

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

Definition at line 62 of file MnUserCovariance.h.

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

Definition at line 70 of file MnUserCovariance.h.

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

Definition at line 54 of file MnUserCovariance.h.

void ROOT::Minuit2::MnUserCovariance::Scale ( double  f)
inline
unsigned int ROOT::Minuit2::MnUserCovariance::size ( ) const
inline

Definition at line 87 of file MnUserCovariance.h.

Member Data Documentation

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

Definition at line 93 of file MnUserCovariance.h.

Referenced by Data(), operator()(), operator=(), Scale(), and size().

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

Definition at line 94 of file MnUserCovariance.h.

Referenced by Nrow(), operator()(), and operator=().

Collaboration diagram for ROOT::Minuit2::MnUserCovariance:
[legend]

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