#include <basematrix.h>
◆ TBaseMatrix() [1/3]
| TBaseMatrix::TBaseMatrix |
( |
| ) |
|
long shiftX
Definition: basematrix.h:36
long ySize
Definition: basematrix.h:23
long shiftY
Definition: basematrix.h:37
long xSize
Definition: basematrix.h:22
unsigned char * mas
Definition: basematrix.h:30
long byteSize
Definition: basematrix.h:24
#define NULL
Definition: nidaqmx.h:84
◆ TBaseMatrix() [2/3]
| TBaseMatrix::TBaseMatrix |
( |
long |
ix_size, |
|
|
long |
iy_size |
|
) |
| |
46 Init(ix_size,iy_size);
void Init(long ix_size, long iy_size)
Definition: basematrix.cxx:108
◆ TBaseMatrix() [3/3]
long GetSize(long *ix_size=NULL, long *iy_size=NULL)
Definition: basematrix.cxx:190
◆ ~TBaseMatrix()
| TBaseMatrix::~TBaseMatrix |
( |
| ) |
|
|
virtual |
◆ Adopt()
| void TBaseMatrix::Adopt |
( |
unsigned char * |
mas, |
|
|
long |
rows, |
|
|
long |
columns |
|
) |
| |
147 memcpy((
void *)
mas,(
void *)m,rows*columns);
◆ GetElement()
| virtual int TBaseMatrix::GetElement |
( |
int |
type, |
|
|
long |
i, |
|
|
long |
j |
|
) |
| |
|
pure virtual |
◆ GetPointer()
| const unsigned char* TBaseMatrix::GetPointer |
( |
void |
| ) |
|
|
inlineprotected |
◆ GetSize()
◆ Init()
115 mas = (
unsigned char *)calloc(
byteSize,
sizeof(
unsigned char));
◆ MoveMatrix()
◆ operator=()
const unsigned char * GetPointer(void)
Definition: basematrix.h:33
◆ Print()
| void TBaseMatrix::Print |
( |
int |
type | ) |
|
211 if (
type==0) {cout<<
"=========initial mas================"<<endl;}
212 else if (
type == 1) {cout<<
"=========current mas================"<<endl;}
213 for (
long j=0; j<ys; j++) {
214 for (
long i=0; i<xs; i++) {
219 cout<<
"===================================="<<endl;
virtual int GetElement(int type, long i, long j)=0
Int_t type
Definition: testBGReduction_By_ANN.C:15
◆ ResetShift()
◆ byteSize
| long TBaseMatrix::byteSize |
|
protected |
◆ mas
| unsigned char* TBaseMatrix::mas |
|
protected |
◆ shiftX
◆ shiftY
◆ xSize
◆ ySize
The documentation for this class was generated from the following files: