10#ifndef ROOT_Minuit2_MnUserCovariance
11#define ROOT_Minuit2_MnUserCovariance
34 assert(
data.size() == nrow * (nrow + 1) / 2);
58 double operator()(
unsigned int row,
unsigned int col)
const
62 return fData[col + row * (row + 1) / 2];
64 return fData[row + col * (col + 1) / 2];
71 return fData[col + row * (row + 1) / 2];
73 return fData[row + col * (col + 1) / 2];
78 for (
unsigned int i = 0; i <
fData.size(); i++)
82 const std::vector<double> &
Data()
const {
return fData; }
87 unsigned int size()
const {
return static_cast<unsigned int>(
fData.size()); }
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Class containing the covariance matrix data represented as a vector of size n*(n+1)/2 Used to hide in...
unsigned int Nrow() const
const std::vector< double > & Data() const
std::vector< double > fData
double & operator()(unsigned int row, unsigned int col)
MnUserCovariance(unsigned int n)
MnUserCovariance(const MnUserCovariance &cov)
MnUserCovariance(const double *data, unsigned int nrow)
unsigned int size() const
double operator()(unsigned int row, unsigned int col) const
MnUserCovariance & operator=(const MnUserCovariance &cov)
MnUserCovariance(const std::vector< double > &data, unsigned int nrow)
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.