Go to the documentation of this file.
4 #ifndef tools_rroot_matrix
5 #define tools_rroot_matrix
17 static const std::string& s_store_class() {
18 static const std::string s_v(
"TMatrix");
23 static const std::string s_v(
"tools::rroot::matrix");
27 virtual void*
cast(
const std::string& a_class)
const {
28 if(
void* p = cmp_cast<matrix>(
this,a_class))
return p;
36 if(
void* p = cmp_cast<matrix>(
this,a_class)) {
return p;}
53 if(!a_buffer.
read(Nrows))
return false;
55 if(!a_buffer.
read(Ncols))
return false;
57 if(!a_buffer.
read(Nelems))
return false;
59 if(!a_buffer.
read(RowLwb))
return false;
61 if(!a_buffer.
read(ColLwb))
return false;
64 if(!dummy_array_stream<float>(a_buffer,Nelems))
return false;
73 mem::increment(
s_class().c_str());
78 mem::decrement(
s_class().c_str());