13 #ifndef __SGNDARRAY_H__ 14 #define __SGNDARRAY_H__ 16 #include <shogun/lib/config.h> 186 #endif // __SGNDARRAY_H__ SGNDArray< T > & operator*=(T val)
T * get_matrix(index_t matIdx) const
SGNDArray< T > & operator+=(SGNDArray &ndarray)
T & operator[](index_t index)
SGNDArray< T > & operator-=(SGNDArray &ndarray)
void next_index(SGVector< index_t > &curr_index) const
SGVector< index_t > get_dimensions() const
SGNDArray< T > clone() const
shogun reference count managed data
virtual void copy_data(const SGReferencedData &orig)
const T & operator[](index_t index) const
void transpose_matrix(index_t matIdx) const
void set_const(T const_elem)
all of classes and functions are contained in the shogun namespace
T max_element(index_t &max_at)
T get_value(SGVector< index_t > index) const
shogun n-dimensional array
void expand(SGNDArray &big_array, SGVector< index_t > &axes)