template<class T>
class shogun::CArray3< T >
Template class Array3 implements a dense three dimensional array.
Note that depending on compile options everything will be inlined, such that this is as high performance 3d-array implementation without error checking.
Definition at line 28 of file Array3.h.
Public Member Functions |
| CArray3 () |
| CArray3 (int32_t dim1, int32_t dim2, int32_t dim3) |
| CArray3 (T *p_array, int32_t dim1, int32_t dim2, int32_t dim3, bool p_free_array=true, bool p_copy_array=false) |
| CArray3 (const T *p_array, int32_t dim1, int32_t dim2, int32_t dim3) |
virtual | ~CArray3 () |
void | set_array_name (const char *p_name) |
void | get_array_size (int32_t &dim1, int32_t &dim2, int32_t &dim3) |
int32_t | get_dim1 () |
int32_t | get_dim2 () |
int32_t | get_dim3 () |
void | zero () |
void | set_const (T const_elem) |
T * | get_array () |
void | set_array (T *p_array, int32_t dim1, int32_t dim2, int32_t dim3, bool p_free_array, bool copy_array=false) |
bool | resize_array (int32_t dim1, int32_t dim2, int32_t dim3) |
T | get_element (int32_t idx1, int32_t idx2, int32_t idx3) const |
bool | set_element (T p_element, int32_t idx1, int32_t idx2, int32_t idx3) |
const T & | element (int32_t idx1, int32_t idx2, int32_t idx3) const |
T & | element (int32_t idx1, int32_t idx2, int32_t idx3) |
T & | element (T *p_array, int32_t idx1, int32_t idx2, int32_t idx3) |
T & | element (T *p_array, int32_t idx1, int32_t idx2, int32_t idx3, int32_t p_dim1_size, int32_t p_dim2_size) |
CArray3< T > & | operator= (const CArray3< T > &orig) |
void | display_size () const |
void | display_array () const |
virtual const char * | get_name () |
| CArray (int32_t initial_size=1) |
| CArray (T *p_array, int32_t p_array_size, bool p_free_array=true, bool p_copy_array=false) |
| CArray (const T *p_array, int32_t p_array_size) |
virtual | ~CArray () |
virtual const char * | get_name () const |
virtual const char * | get_array_name () const |
int32_t | get_array_size () const |
const T & | get_element (int32_t index) const |
bool | set_element (const T &p_element, int32_t index) |
const T & | element (int32_t idx1) const |
T & | element (int32_t index) |
T & | element (T *p_array, int32_t index) |
bool | resize_array (int32_t n) |
void | set_array (T *p_array, int32_t p_array_size, bool p_free_array=true, bool copy_array=false) |
void | set_array (const T *p_array, int32_t p_array_size) |
void | clear_array () |
const T & | operator[] (int32_t index) const |
T & | operator[] (int32_t index) |
CArray< T > & | operator= (const CArray< T > &orig) |
| CSGObject () |
| CSGObject (const CSGObject &orig) |
virtual | ~CSGObject () |
virtual bool | is_generic (EPrimitiveType *generic) const |
template<class T > |
void | set_generic () |
void | unset_generic () |
virtual void | print_serializable (const char *prefix="") |
virtual bool | save_serializable (CSerializableFile *file, const char *prefix="") |
virtual bool | load_serializable (CSerializableFile *file, const char *prefix="") |
void | set_global_io (SGIO *io) |
SGIO * | get_global_io () |
void | set_global_parallel (Parallel *parallel) |
Parallel * | get_global_parallel () |
void | set_global_version (Version *version) |
Version * | get_global_version () |
SGVector< char * > | get_modelsel_names () |
char * | get_modsel_param_descr (const char *param_name) |
index_t | get_modsel_param_index (const char *param_name) |