30   if ((rows <= 0) || (cols <= 0))
 
   32     Fatal(
"TGDMLMatrix::TGDMLMatrix(rows,cols)", 
"Wrong number of rows/cols");
 
   42  : 
TNamed(rhs), fNelem(rhs.fNelem), fNrows(rhs.fNrows), fNcols(rhs.fNcols), fMatrix(nullptr)
 
   56   if (
this == &rhs)  { 
return *
this; }
 
   93   for (
size_t row = 0; row < 
fNrows; ++row) {
 
   95      for (
size_t col = 0; col < 
fNcols; ++col) {
 
   96         printf(
"%8.3g", 
Get(row, col));
 
void Fatal(const char *location, const char *msgfmt,...)
Use this function in case of a fatal error. It will abort the program.
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
 
This class is used in the process of reading and writing the GDML "matrix" tag.
 
TGDMLMatrix & operator=(const TGDMLMatrix &rhs)
 
Double_t Get(size_t r, size_t c) const
 
void Set(size_t r, size_t c, Double_t a)
 
void Print(Option_t *option="") const
This method must be overridden when a class wants to print itself.
 
The TNamed class is the base class for all named ROOT classes.
 
const char * GetName() const override
Returns name of object.
 
TNamed & operator=(const TNamed &rhs)
TNamed assignment operator.
 
const char * Data() const