19 void Init(
int *sz,
int n);
40 StMultiArray(
int n1,
int n2,
int n3,
int n4,
int n5,
int n6):
StMultiArrayBase(n1,n2,n3,n4,n5,n6){mA=0;}
41 StMultiArray(
int n1,
int n2,
int n3,
int n4,
int n5,
int n6,
int n7):
StMultiArrayBase(n1,n2,n3,n4,n5,n6,n7){mA=0;}
42 StMultiArray(
int n1,
int n2,
int n3,
int n4,
int n5,
int n6,
int n7,
int n8):
StMultiArrayBase(n1,n2,n3,n4,n5,n6,n7,n8){mA=0;}
43 operator T (){
return mA[GetIdx()];}
44 operator T*(){
return mA+GetKdx();}
45 StMultiArray &operator[](
int i) {AddIdx(i);
return *
this;}
46 void operator=(T *array){mA=array; Clear();}
47 void operator=(T value){mA[GetIdx()]=value;}
51 #endif //STMULTIARRAY_H
class StMultiArrayBase is a base, non templated part of StMultiArray