19 #define IGNORE_IN_CLASSLIST
47 array = SG_CALLOC(T, sz);
54 for (int32_t i=0; i<
size; i++)
64 inline void set(T element, int32_t index)
78 inline T
get(int32_t index)
82 T element=
array[index];
91 virtual const char*
get_name()
const {
return "GCArray"; }
100 #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,...)