Logo ROOT   6.12/07
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
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 43 of file CholeskyDecomp.h.

Public Member Functions

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

Private Attributes

GfArr
 pointer to first array element More...
 

#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 >
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.

◆ operator()() [2/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.

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.


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