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 29 of file MnUserCovariance.h.

Public Member Functions

 MnUserCovariance ()=default
 
 MnUserCovariance (const double *data, unsigned int nrow)
 
 MnUserCovariance (std::span< const double > data, unsigned int nrow)
 
 MnUserCovariance (unsigned int n)
 
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
 
void Scale (double f)
 
unsigned int size () const
 

Private Attributes

std::vector< doublefData
 
unsigned int fNRow = 0
 

#include <Minuit2/MnUserCovariance.h>

Constructor & Destructor Documentation

◆ MnUserCovariance() [1/4]

ROOT::Minuit2::MnUserCovariance::MnUserCovariance ( )
default

◆ MnUserCovariance() [2/4]

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

Definition at line 35 of file MnUserCovariance.h.

◆ MnUserCovariance() [3/4]

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

Definition at line 41 of file MnUserCovariance.h.

◆ MnUserCovariance() [4/4]

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

Definition at line 46 of file MnUserCovariance.h.

Member Function Documentation

◆ Data()

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

Definition at line 72 of file MnUserCovariance.h.

◆ Nrow()

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

Definition at line 74 of file MnUserCovariance.h.

◆ operator()() [1/2]

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

Definition at line 57 of file MnUserCovariance.h.

◆ operator()() [2/2]

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

Definition at line 48 of file MnUserCovariance.h.

◆ Scale()

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

Definition at line 66 of file MnUserCovariance.h.

◆ size()

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

Definition at line 77 of file MnUserCovariance.h.

Member Data Documentation

◆ fData

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

Definition at line 80 of file MnUserCovariance.h.

◆ fNRow

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

Definition at line 81 of file MnUserCovariance.h.

Libraries for ROOT::Minuit2::MnUserCovariance:

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