#include <MatRepSparse.h>
Public Types | |
enum | { kRows = D1, kCols = D1, kSize = S } |
typedef T | value_type |
Public Member Functions | |
T | apply (unsigned int i) const |
T * | Array () |
const T * | Array () const |
MatRepSparse () | |
template<typename FI > | |
MatRepSparse (FI fi) | |
T const & | operator() (unsigned int i, unsigned int j) const |
T & | operator() (unsigned int i, unsigned int j) |
template<class R > | |
MatRepSparse & | operator+= (const R &) |
MatRepSparse & | operator+= (const MatRepSparse &rhs) |
template<class R > | |
MatRepSparse & | operator-= (const R &) |
MatRepSparse & | operator-= (const MatRepSparse &rhs) |
template<class R > | |
MatRepSparse & | operator= (const R &) |
MatRepSparse & | operator= (const MatRepSparse &rhs) |
template<class R > | |
bool | operator== (const R &rhs) const |
T & | operator[] (unsigned int i) |
T const & | operator[] (unsigned int i) const |
Static Public Member Functions | |
static T const & | csink () |
static T & | sink () |
Public Attributes | |
F | f |
T | fArray [kSize] ={0} |
a sparse matrix just for storage purposes can be assigned to other matrices
Definition at line 11 of file MatRepSparse.h.
typedef T MatRepSparse< T, D1, D2, S, F >::value_type |
Definition at line 18 of file MatRepSparse.h.
anonymous enum |
Enumerator | |
---|---|
kRows |
return no. of matrix rows |
kCols |
return no. of matrix columns |
kSize |
return no of elements: rows*columns |
Definition at line 112 of file MatRepSparse.h.
|
inline |
Definition at line 14 of file MatRepSparse.h.
|
inlineexplicit |
Definition at line 16 of file MatRepSparse.h.
|
inline |
Definition at line 51 of file MatRepSparse.h.
References MatRepSparse< T, D1, D2, S, F >::f, MatRepSparse< T, D1, D2, S, F >::fArray, and relval_steps::k.
Referenced by heavyIonTools.ConfigureHeavyIons::__call__(), editorTools.UserCodeTool::__call__(), HiCoreTools.RestrictInputToAOD::__call__(), coreTools.RunOnData::__call__(), trackTools.MakeAODTrackCandidates::__call__(), runJetUncertainties.RunJetUncertainties::__call__(), metTools.AddMETCollection::__call__(), heavyIonTools.ProductionDefaults::__call__(), editorTools.ChangeSource::__call__(), HiCoreTools.RemoveMCMatching::__call__(), cmsswVersionTools.PickRelValInputFiles::__call__(), coreTools.RemoveMCMatching::__call__(), trackTools.MakePATTrackCandidates::__call__(), trigTools.SwitchOnTrigger::__call__(), jetTools.AddJetCollection::__call__(), heavyIonTools.SelectionDefaults::__call__(), HiCoreTools.RemoveAllPATObjectsBut::__call__(), heavyIonTools.DisbaleMonteCarloDeps::__call__(), HiCoreTools.RemoveSpecificPATObjects::__call__(), trigTools.SwitchOnTriggerStandAlone::__call__(), trackTools.MakeTrackCandidates::__call__(), trigTools.SwitchOnTriggerMatching::__call__(), HiCoreTools.RemoveCleaning::__call__(), HiCoreTools.AddCleaning::__call__(), tauTools.AddTauCollection::__call__(), trigTools.SwitchOnTriggerMatchingStandAlone::__call__(), trigTools.SwitchOnTriggerMatchEmbedding::__call__(), jetTools.SwitchJetCollection::__call__(), jetTools.AddJetID::__call__(), and jetTools.SetTagInfos::__call__().
|
inline |
Definition at line 56 of file MatRepSparse.h.
References MatRepSparse< T, D1, D2, S, F >::fArray.
Referenced by MatRepSparse< T, D1, D2, S, F >::operator+=(), MatRepSparse< T, D1, D2, S, F >::operator-=(), and MatRepSparse< T, D1, D2, S, F >::operator=().
|
inline |
|
inlinestatic |
Definition at line 25 of file MatRepSparse.h.
References tree::t.
Referenced by MatRepSparse< T, D1, D2, S, F >::operator()(), and MatRepSparse< T, D1, D2, S, F >::operator[]().
|
inline |
Definition at line 31 of file MatRepSparse.h.
References MatRepSparse< T, D1, D2, S, F >::csink(), MatRepSparse< T, D1, D2, S, F >::f, MatRepSparse< T, D1, D2, S, F >::fArray, and relval_steps::k.
|
inline |
Definition at line 36 of file MatRepSparse.h.
References MatRepSparse< T, D1, D2, S, F >::f, MatRepSparse< T, D1, D2, S, F >::fArray, relval_steps::k, and MatRepSparse< T, D1, D2, S, F >::sink().
|
inline |
self addition : only sparse to sparse allowed
Definition at line 79 of file MatRepSparse.h.
References dttmaxenums::R, and relativeConstraints::value.
|
inline |
Definition at line 84 of file MatRepSparse.h.
References MatRepSparse< T, D1, D2, S, F >::Array(), MatRepSparse< T, D1, D2, S, F >::fArray, i, and MatRepSparse< T, D1, D2, S, F >::kSize.
|
inline |
self subtraction : only sparse to sparse allowed
Definition at line 93 of file MatRepSparse.h.
References dttmaxenums::R, and relativeConstraints::value.
|
inline |
Definition at line 99 of file MatRepSparse.h.
References MatRepSparse< T, D1, D2, S, F >::Array(), MatRepSparse< T, D1, D2, S, F >::fArray, i, and MatRepSparse< T, D1, D2, S, F >::kSize.
|
inline |
assignment : only sparse to sparse allowed
Definition at line 64 of file MatRepSparse.h.
References dttmaxenums::R, and relativeConstraints::value.
|
inline |
Definition at line 70 of file MatRepSparse.h.
References MatRepSparse< T, D1, D2, S, F >::Array(), MatRepSparse< T, D1, D2, S, F >::fArray, i, and MatRepSparse< T, D1, D2, S, F >::kSize.
|
inline |
Definition at line 104 of file MatRepSparse.h.
References i, and MatRepSparse< T, D1, D2, S, F >::operator[]().
|
inline |
Definition at line 41 of file MatRepSparse.h.
References MatRepSparse< T, D1, D2, S, F >::f, MatRepSparse< T, D1, D2, S, F >::fArray, relval_steps::k, and MatRepSparse< T, D1, D2, S, F >::sink().
Referenced by MatRepSparse< T, D1, D2, S, F >::operator==().
|
inline |
Definition at line 46 of file MatRepSparse.h.
References MatRepSparse< T, D1, D2, S, F >::csink(), MatRepSparse< T, D1, D2, S, F >::f, MatRepSparse< T, D1, D2, S, F >::fArray, and relval_steps::k.
|
inlinestatic |
Definition at line 20 of file MatRepSparse.h.
References tree::t.
Referenced by MatRepSparse< T, D1, D2, S, F >::operator()(), and MatRepSparse< T, D1, D2, S, F >::operator[]().
F MatRepSparse< T, D1, D2, S, F >::f |
Definition at line 124 of file MatRepSparse.h.
Referenced by MatRepSparse< T, D1, D2, S, F >::apply(), Vispa.Views.RootCanvasView.RootCanvasView::createGraph(), Vispa.Views.RootCanvasView.RootCanvasView::createLegoPlot(), ztail.Decoder::initial_synchronize(), MatRepSparse< T, D1, D2, S, F >::operator()(), and MatRepSparse< T, D1, D2, S, F >::operator[]().
T MatRepSparse< T, D1, D2, S, F >::fArray[kSize] ={0} |
Definition at line 123 of file MatRepSparse.h.
Referenced by MatRepSparse< T, D1, D2, S, F >::apply(), MatRepSparse< T, D1, D2, S, F >::Array(), MatRepSparse< T, D1, D2, S, F >::operator()(), MatRepSparse< T, D1, D2, S, F >::operator+=(), MatRepSparse< T, D1, D2, S, F >::operator-=(), MatRepSparse< T, D1, D2, S, F >::operator=(), and MatRepSparse< T, D1, D2, S, F >::operator[]().