We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
data()
size()
1 parent eddd42f commit 98d4d9eCopy full SHA for 98d4d9e
math/matrix/inc/TVectorT.h
@@ -76,6 +76,12 @@ template<class Element> class TVectorT : public TObject {
76
inline Element *GetMatrixArray () { return fElements; }
77
inline const Element *GetMatrixArray () const { return fElements; }
78
79
+ // For compatibility with STL classes
80
+ inline std::size_t size() const { return fNrows; }
81
+
82
+ inline Element *data() { return fElements; }
83
+ inline const Element *data() const { return fElements; }
84
85
inline void Invalidate () { SetBit(kStatus); }
86
inline void MakeValid () { ResetBit(kStatus); }
87
inline Bool_t IsValid () const { return !TestBit(kStatus); }
0 commit comments