#include <L1MuGMTMatrix.h>
Public Member Functions | |
int | colAny (int c) const |
is any element in column c > 0 ? return index or -1 More... | |
bool | isMax (int r, int c) const |
is the element (r,c) the max. entry in its row and column? More... | |
bool | isMin (int r, int c) const |
is the element (r,c) the min. entry in its row and column? More... | |
L1MuGMTMatrix (int r, int c, T v) | |
constructor More... | |
L1MuGMTMatrix (const L1MuGMTMatrix< T > &) | |
copy constructor More... | |
L1MuGMTMatrix (L1MuGMTMatrix< T > &&)=default | |
T & | operator() (int r, int c) |
const T & | operator() (int r, int c) const |
L1MuGMTMatrix & | operator*= (const T &s) |
scalar multiplication More... | |
L1MuGMTMatrix & | operator+= (const L1MuGMTMatrix &m) |
matrix addition More... | |
L1MuGMTMatrix & | operator+= (const T &s) |
scalar addition More... | |
L1MuGMTMatrix & | operator= (const L1MuGMTMatrix &m) |
assignment operator More... | |
void | print () const |
print matrix More... | |
void | reset (T v) |
reset all elements More... | |
int | rowAny (int r) const |
is any element in row r > 0 ? return index or -1 More... | |
void | set (int r, int c, T v) |
set matrix element More... | |
virtual | ~L1MuGMTMatrix ()=default |
destructor More... | |
Private Member Functions | |
T & | get (int r, int c) |
T const & | get (int r, int c) const |
Private Attributes | |
int | c_size |
std::unique_ptr< T[]> | p_ |
int | r_size |
Matrix.
general matrix
Definition at line 45 of file L1MuGMTMatrix.h.
L1MuGMTMatrix< T >::L1MuGMTMatrix | ( | int | r, |
int | c, | ||
T | v | ||
) |
L1MuGMTMatrix< T >::L1MuGMTMatrix | ( | const L1MuGMTMatrix< T > & | mat | ) |
|
default |
|
virtualdefault |
destructor
int L1MuGMTMatrix< T >::colAny | ( | int | c | ) | const |
is any element in column c > 0 ? return index or -1
Definition at line 262 of file L1MuGMTMatrix.h.
Referenced by L1MuGMTCancelOutUnit::decide(), and L1MuGMTMerger::merge().
|
inlineprivate |
Definition at line 98 of file L1MuGMTMatrix.h.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), and submitPVValidationJobs.BetterConfigParser::getResultingSection().
|
inlineprivate |
Definition at line 100 of file L1MuGMTMatrix.h.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), and submitPVValidationJobs.BetterConfigParser::getResultingSection().
bool L1MuGMTMatrix< T >::isMax | ( | int | r, |
int | c | ||
) | const |
is the element (r,c) the max. entry in its row and column?
Definition at line 222 of file L1MuGMTMatrix.h.
Referenced by L1MuGMTMatcher::match().
bool L1MuGMTMatrix< T >::isMin | ( | int | r, |
int | c | ||
) | const |
is the element (r,c) the min. entry in its row and column?
Definition at line 246 of file L1MuGMTMatrix.h.
T & L1MuGMTMatrix< T >::operator() | ( | int | r, |
int | c | ||
) |
Definition at line 128 of file L1MuGMTMatrix.h.
const T & L1MuGMTMatrix< T >::operator() | ( | int | r, |
int | c | ||
) | const |
Definition at line 138 of file L1MuGMTMatrix.h.
L1MuGMTMatrix< T > & L1MuGMTMatrix< T >::operator*= | ( | const T & | s | ) |
L1MuGMTMatrix< T > & L1MuGMTMatrix< T >::operator+= | ( | const L1MuGMTMatrix< T > & | m | ) |
L1MuGMTMatrix< T > & L1MuGMTMatrix< T >::operator+= | ( | const T & | s | ) |
L1MuGMTMatrix< T > & L1MuGMTMatrix< T >::operator= | ( | const L1MuGMTMatrix< T > & | m | ) |
void L1MuGMTMatrix< T >::print | ( | void | ) | const |
void L1MuGMTMatrix< T >::reset | ( | T | v | ) |
reset all elements
Definition at line 148 of file L1MuGMTMatrix.h.
Referenced by L1MuGMTInputEvent::reset(), L1MuGMTMatcher::reset(), and L1MuGMTPSB::reset().
int L1MuGMTMatrix< T >::rowAny | ( | int | r | ) | const |
is any element in row r > 0 ? return index or -1
Definition at line 276 of file L1MuGMTMatrix.h.
Referenced by L1MuGMTCancelOutUnit::decide(), and L1MuGMTMerger::merge().
void L1MuGMTMatrix< T >::set | ( | int | r, |
int | c, | ||
T | v | ||
) |
set matrix element
Definition at line 158 of file L1MuGMTMatrix.h.
Referenced by L1MuGMTPSB::getCalo().
|
private |
Definition at line 102 of file L1MuGMTMatrix.h.
Referenced by L1MuGMTMatrix< bool >::get(), and L1MuGMTMatrix< bool >::L1MuGMTMatrix().
|
private |
Definition at line 104 of file L1MuGMTMatrix.h.
Referenced by L1MuGMTMatrix< bool >::get(), and L1MuGMTMatrix< bool >::L1MuGMTMatrix().
|
private |
Definition at line 102 of file L1MuGMTMatrix.h.
Referenced by L1MuGMTMatrix< bool >::L1MuGMTMatrix().