Logo ROOT   master
Reference Guide
ROOT::Minuit2::LASymMatrix Class Reference

Class describing a symmetric matrix of size n.

The size is specified as a run-time argument passed in the constructor. The class uses expression templates for the operations and functions. Only the independent data are kept in the fdata array of size n*(n+1)/2 containing the lower triangular data

Definition at line 51 of file LASymMatrix.h.

Public Types

typedef sym Type
 

Public Member Functions

 LASymMatrix (unsigned int n)
 
 LASymMatrix (const LASymMatrix &v)
 
template<class T >
 LASymMatrix (const ABObj< sym, LASymMatrix, T > &v)
 
template<class A , class B , class T >
 LASymMatrix (const ABObj< sym, ABSum< ABObj< sym, A, T >, ABObj< sym, B, T > >, T > &sum)
 
template<class A , class T >
 LASymMatrix (const ABObj< sym, ABSum< ABObj< sym, LASymMatrix, T >, ABObj< sym, A, T > >, T > &sum)
 
template<class A , class T >
 LASymMatrix (const ABObj< sym, ABObj< sym, A, T >, T > &something)
 
template<class T >
 LASymMatrix (const ABObj< sym, MatrixInverse< sym, ABObj< sym, LASymMatrix, T >, T >, T > &inv)
 
template<class A , class T >
 LASymMatrix (const ABObj< sym, ABSum< ABObj< sym, MatrixInverse< sym, ABObj< sym, LASymMatrix, T >, T >, T >, ABObj< sym, A, T > >, T > &sum)
 
 LASymMatrix (const ABObj< sym, VectorOuterProduct< ABObj< vec, LAVector, double >, double >, double > &)
 
template<class A , class T >
 LASymMatrix (const ABObj< sym, ABSum< ABObj< sym, VectorOuterProduct< ABObj< vec, LAVector, T >, T >, T >, ABObj< sym, A, T > >, T > &sum)
 
 ~LASymMatrix ()
 
const doubleData () const
 
doubleData ()
 
unsigned int Ncol () const
 
unsigned int Nrow () const
 
double operator() (unsigned int row, unsigned int col) const
 
doubleoperator() (unsigned int row, unsigned int col)
 
LASymMatrixoperator*= (double scal)
 
LASymMatrixoperator+= (const LASymMatrix &m)
 
template<class T >
LASymMatrixoperator+= (const ABObj< sym, LASymMatrix, T > &m)
 
template<class A , class T >
LASymMatrixoperator+= (const ABObj< sym, A, T > &m)
 
template<class T >
LASymMatrixoperator+= (const ABObj< sym, MatrixInverse< sym, ABObj< sym, LASymMatrix, T >, T >, T > &m)
 
template<class T >
LASymMatrixoperator+= (const ABObj< sym, VectorOuterProduct< ABObj< vec, LAVector, T >, T >, T > &m)
 
LASymMatrixoperator-= (const LASymMatrix &m)
 
LASymMatrixoperator= (const LASymMatrix &v)
 
template<class T >
LASymMatrixoperator= (const ABObj< sym, LASymMatrix, T > &v)
 
template<class A , class T >
LASymMatrixoperator= (const ABObj< sym, ABObj< sym, A, T >, T > &something)
 
template<class A , class B , class T >
LASymMatrixoperator= (const ABObj< sym, ABSum< ABObj< sym, A, T >, ABObj< sym, B, T > >, T > &sum)
 
template<class A , class T >
LASymMatrixoperator= (const ABObj< sym, ABSum< ABObj< sym, LASymMatrix, T >, ABObj< sym, A, T > >, T > &sum)
 
template<class T >
LASymMatrixoperator= (const ABObj< sym, MatrixInverse< sym, ABObj< sym, LASymMatrix, T >, T >, T > &inv)
 
LASymMatrixoperator= (const ABObj< sym, VectorOuterProduct< ABObj< vec, LAVector, double >, double >, double > &)
 
unsigned int size () const
 

Private Member Functions

 LASymMatrix ()
 

Private Attributes

doublefData
 
unsigned int fNRow
 
unsigned int fSize
 

#include <Minuit2/LASymMatrix.h>

Member Typedef Documentation

◆ Type

Definition at line 59 of file LASymMatrix.h.

Constructor & Destructor Documentation

◆ LASymMatrix() [1/11]

ROOT::Minuit2::LASymMatrix::LASymMatrix ( )
inlineprivate

Definition at line 55 of file LASymMatrix.h.

◆ LASymMatrix() [2/11]

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

Definition at line 61 of file LASymMatrix.h.

◆ ~LASymMatrix()

ROOT::Minuit2::LASymMatrix::~LASymMatrix ( )
inline

Definition at line 67 of file LASymMatrix.h.

◆ LASymMatrix() [3/11]

ROOT::Minuit2::LASymMatrix::LASymMatrix ( const LASymMatrix v)
inline

Definition at line 75 of file LASymMatrix.h.

◆ LASymMatrix() [4/11]

template<class T >
ROOT::Minuit2::LASymMatrix::LASymMatrix ( const ABObj< sym, LASymMatrix, T > &  v)
inline

Definition at line 91 of file LASymMatrix.h.

◆ LASymMatrix() [5/11]

template<class A , class B , class T >
ROOT::Minuit2::LASymMatrix::LASymMatrix ( const ABObj< sym, ABSum< ABObj< sym, A, T >, ABObj< sym, B, T > >, T > &  sum)
inline

Definition at line 101 of file LASymMatrix.h.

◆ LASymMatrix() [6/11]

template<class A , class T >
ROOT::Minuit2::LASymMatrix::LASymMatrix ( const ABObj< sym, ABSum< ABObj< sym, LASymMatrix, T >, ABObj< sym, A, T > >, T > &  sum)
inline

Definition at line 110 of file LASymMatrix.h.

◆ LASymMatrix() [7/11]

template<class A , class T >
ROOT::Minuit2::LASymMatrix::LASymMatrix ( const ABObj< sym, ABObj< sym, A, T >, T > &  something)
inline

Definition at line 122 of file LASymMatrix.h.

◆ LASymMatrix() [8/11]

template<class T >
ROOT::Minuit2::LASymMatrix::LASymMatrix ( const ABObj< sym, MatrixInverse< sym, ABObj< sym, LASymMatrix, T >, T >, T > &  inv)
inline

Definition at line 130 of file LASymMatrix.h.

◆ LASymMatrix() [9/11]

template<class A , class T >
ROOT::Minuit2::LASymMatrix::LASymMatrix ( const ABObj< sym, ABSum< ABObj< sym, MatrixInverse< sym, ABObj< sym, LASymMatrix, T >, T >, T >, ABObj< sym, A, T > >, T > &  sum)
inline

Definition at line 138 of file LASymMatrix.h.

◆ LASymMatrix() [10/11]

ROOT::Minuit2::LASymMatrix::LASymMatrix ( const ABObj< sym, VectorOuterProduct< ABObj< vec, LAVector, double >, double >, double > &  out)

Definition at line 21 of file LaOuterProduct.cxx.

◆ LASymMatrix() [11/11]

template<class A , class T >
ROOT::Minuit2::LASymMatrix::LASymMatrix ( const ABObj< sym, ABSum< ABObj< sym, VectorOuterProduct< ABObj< vec, LAVector, T >, T >, T >, ABObj< sym, A, T > >, T > &  sum)
inline

Definition at line 150 of file LASymMatrix.h.

Member Function Documentation

◆ Data() [1/2]

const double* ROOT::Minuit2::LASymMatrix::Data ( ) const
inline

Definition at line 233 of file LASymMatrix.h.

◆ Data() [2/2]

double* ROOT::Minuit2::LASymMatrix::Data ( )
inline

Definition at line 235 of file LASymMatrix.h.

◆ Ncol()

unsigned int ROOT::Minuit2::LASymMatrix::Ncol ( ) const
inline

Definition at line 241 of file LASymMatrix.h.

◆ Nrow()

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

Definition at line 239 of file LASymMatrix.h.

◆ operator()() [1/2]

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

Definition at line 217 of file LASymMatrix.h.

◆ operator()() [2/2]

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

Definition at line 225 of file LASymMatrix.h.

◆ operator*=()

LASymMatrix& ROOT::Minuit2::LASymMatrix::operator*= ( double  scal)
inline

Definition at line 212 of file LASymMatrix.h.

◆ operator+=() [1/5]

LASymMatrix& ROOT::Minuit2::LASymMatrix::operator+= ( const LASymMatrix m)
inline

Definition at line 159 of file LASymMatrix.h.

◆ operator+=() [2/5]

template<class T >
LASymMatrix& ROOT::Minuit2::LASymMatrix::operator+= ( const ABObj< sym, LASymMatrix, T > &  m)
inline

Definition at line 174 of file LASymMatrix.h.

◆ operator+=() [3/5]

template<class A , class T >
LASymMatrix& ROOT::Minuit2::LASymMatrix::operator+= ( const ABObj< sym, A, T > &  m)
inline

Definition at line 187 of file LASymMatrix.h.

◆ operator+=() [4/5]

template<class T >
LASymMatrix& ROOT::Minuit2::LASymMatrix::operator+= ( const ABObj< sym, MatrixInverse< sym, ABObj< sym, LASymMatrix, T >, T >, T > &  m)
inline

Definition at line 194 of file LASymMatrix.h.

◆ operator+=() [5/5]

template<class T >
LASymMatrix& ROOT::Minuit2::LASymMatrix::operator+= ( const ABObj< sym, VectorOuterProduct< ABObj< vec, LAVector, T >, T >, T > &  m)
inline

Definition at line 205 of file LASymMatrix.h.

◆ operator-=()

LASymMatrix& ROOT::Minuit2::LASymMatrix::operator-= ( const LASymMatrix m)
inline

Definition at line 166 of file LASymMatrix.h.

◆ operator=() [1/7]

LASymMatrix& ROOT::Minuit2::LASymMatrix::operator= ( const LASymMatrix v)
inline

Definition at line 81 of file LASymMatrix.h.

◆ operator=() [2/7]

template<class T >
LASymMatrix& ROOT::Minuit2::LASymMatrix::operator= ( const ABObj< sym, LASymMatrix, T > &  v)
inline

Definition at line 252 of file LASymMatrix.h.

◆ operator=() [3/7]

template<class A , class T >
LASymMatrix& ROOT::Minuit2::LASymMatrix::operator= ( const ABObj< sym, ABObj< sym, A, T >, T > &  something)
inline

Definition at line 268 of file LASymMatrix.h.

◆ operator=() [4/7]

template<class A , class B , class T >
LASymMatrix& ROOT::Minuit2::LASymMatrix::operator= ( const ABObj< sym, ABSum< ABObj< sym, A, T >, ABObj< sym, B, T > >, T > &  sum)
inline

Definition at line 284 of file LASymMatrix.h.

◆ operator=() [5/7]

template<class A , class T >
LASymMatrix& ROOT::Minuit2::LASymMatrix::operator= ( const ABObj< sym, ABSum< ABObj< sym, LASymMatrix, T >, ABObj< sym, A, T > >, T > &  sum)
inline

Definition at line 302 of file LASymMatrix.h.

◆ operator=() [6/7]

template<class T >
LASymMatrix& ROOT::Minuit2::LASymMatrix::operator= ( const ABObj< sym, MatrixInverse< sym, ABObj< sym, LASymMatrix, T >, T >, T > &  inv)
inline

Definition at line 323 of file LASymMatrix.h.

◆ operator=() [7/7]

LASymMatrix & ROOT::Minuit2::LASymMatrix::operator= ( const ABObj< sym, VectorOuterProduct< ABObj< vec, LAVector, double >, double >, double > &  out)

Definition at line 31 of file LaOuterProduct.cxx.

◆ size()

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

Definition at line 237 of file LASymMatrix.h.

Member Data Documentation

◆ fData

double* ROOT::Minuit2::LASymMatrix::fData
private

Definition at line 247 of file LASymMatrix.h.

◆ fNRow

unsigned int ROOT::Minuit2::LASymMatrix::fNRow
private

Definition at line 246 of file LASymMatrix.h.

◆ fSize

unsigned int ROOT::Minuit2::LASymMatrix::fSize
private

Definition at line 245 of file LASymMatrix.h.

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

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