Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Math::CholeskyDecompHelpers::PackedArrayAdapter< G > Class Template Reference

template<typename G>
class ROOT::Math::CholeskyDecompHelpers::PackedArrayAdapter< G >

adapter for packed arrays (to SMatrix indexing conventions)

Definition at line 521 of file CholeskyDecomp.h.

Public Member Functions

 PackedArrayAdapter (G *arr)
 constructor
 
Goperator() (unsigned i, unsigned j)
 write access to elements (make sure that j <= i)
 
const G operator() (unsigned i, unsigned j) const
 read access to elements (make sure that j <= i)
 

Private Attributes

GfArr
 pointer to first array element
 

#include <Math/CholeskyDecomp.h>

Constructor & Destructor Documentation

◆ PackedArrayAdapter()

template<typename G >
ROOT::Math::CholeskyDecompHelpers::PackedArrayAdapter< G >::PackedArrayAdapter ( G arr)
inline

constructor

Definition at line 527 of file CholeskyDecomp.h.

Member Function Documentation

◆ operator()() [1/2]

template<typename G >
G & ROOT::Math::CholeskyDecompHelpers::PackedArrayAdapter< G >::operator() ( unsigned  i,
unsigned  j 
)
inline

write access to elements (make sure that j <= i)

Definition at line 532 of file CholeskyDecomp.h.

◆ operator()() [2/2]

template<typename G >
const G ROOT::Math::CholeskyDecompHelpers::PackedArrayAdapter< G >::operator() ( unsigned  i,
unsigned  j 
) const
inline

read access to elements (make sure that j <= i)

Definition at line 529 of file CholeskyDecomp.h.

Member Data Documentation

◆ fArr

template<typename G >
G* ROOT::Math::CholeskyDecompHelpers::PackedArrayAdapter< G >::fArr
private

pointer to first array element

Definition at line 524 of file CholeskyDecomp.h.

  • math/smatrix/inc/Math/CholeskyDecomp.h