template<class T>
class shogun::CArray< T >
Template class Array implements a dense one dimensional array.
Note that depending on compile options everything will be inlined, such that this is as high performance array implementation without error checking.
Definition at line 80 of file Array.h.
|
| | 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 |
| |
| void | set_array_name (const char *p_name) |
| |
| int32_t | get_array_size () const |
| |
| int32_t | get_dim1 () |
| |
| void | zero () |
| |
| void | set_const (T const_elem) |
| |
| 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) |
| |
| T * | get_array () |
| |
| 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) |
| |
| void | display_size () const |
| |
| void | display_array () const |
| |
| | 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) |
| |
| template<> |
| void | set_generic () |
| |
| template<> |
| void | set_generic () |
| |
| template<> |
| void | set_generic () |
| |
| template<> |
| void | set_generic () |
| |
| template<> |
| void | set_generic () |
| |
| template<> |
| void | set_generic () |
| |
| template<> |
| void | set_generic () |
| |
| template<> |
| void | set_generic () |
| |
| template<> |
| void | set_generic () |
| |
| template<> |
| void | set_generic () |
| |
| template<> |
| void | set_generic () |
| |
| template<> |
| void | set_generic () |
| |
| template<> |
| void | set_generic () |
| |