29 if ((rows <= 0) || (cols <= 0)) {
30 Fatal(
"TGDMLMatrix::TGDMLMatrix(rows,cols)",
"Wrong number of rows/cols");
40 :
TNamed(rhs), fNelem(rhs.fNelem), fNrows(rhs.fNrows), fNcols(rhs.fNcols), fMatrix(nullptr)
91 for (
size_t row = 0; row <
fNrows; ++row) {
93 for (
size_t col = 0; col <
fNcols; ++col) {
94 printf(
"%8.3g",
Get(row, col));
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)
void Print(Option_t *option="") const override
This method must be overridden when a class wants to print itself.
Double_t Get(size_t r, size_t c) const
void Set(size_t r, size_t c, Double_t a)
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.
virtual void Fatal(const char *method, const char *msgfmt,...) const
Issue fatal error message.
const char * Data() const