22 #define IGNORE_IN_CLASSLIST
50 array = SG_CALLOC(T, sz);
57 for (int32_t i=0; i<
size; i++)
67 inline void set(T element, int32_t index)
81 inline T
get(int32_t index)
85 T element=
array[index];
94 virtual const char*
get_name()
const {
return "GCArray"; }
103 #endif //__GCARRAY_H__
void set(T element, int32_t index)
Template class GCArray implements a garbage collecting static array.
virtual const char * get_name() const
Class SGObject is the base class of all shogun objects.
#define IGNORE_IN_CLASSLIST
int32_t size
size of array
all of classes and functions are contained in the shogun namespace
#define SG_UNSTABLE(func,...)