#include <array1d.hh>
Public Types | |
enum | { length = Size } |
typedef Object< void > | category |
typedef array1d< T, Size > | exact_t |
Public Member Functions | |
array1d () | |
array1d (T *ptr) | |
array1d (const array1d< T, Size > &rhs) | |
template<unsigned i> | |
T | get () const |
template<unsigned i> | |
T & | get () |
template<class U > | |
array1d< T, Size > | operator* (U w) |
template<typename U > | |
array1d< typename mln::trait::op::plus< T, U > ::ret, Size > | operator+ (const array1d< U, Size > &rhs) const |
array1d< T, Size > & | operator+= (const array1d< T, Size > &rhs) |
template<typename U > | |
array1d< typename mln::trait::op::minus< T, U > ::ret, Size > | operator- (const array1d< U, Size > &rhs) const |
array1d< T, Size > & | operator-= (const array1d< T, Size > &rhs) |
template<class U > | |
array1d< typename mln::trait::op::div< T, U > ::ret, Size > | operator/ (U w) |
array1d< T, Size > & | operator= (const array1d< T, Size > &rhs) |
T & | operator[] (unsigned i) |
T | operator[] (unsigned i) const |
Protected Attributes | |
T | buffer_ [Size] |
typedef Object<void> mln::Object< array1d< T, Size > >::category [inherited] |
typedef array1d< T, Size > mln::Object< array1d< T, Size > >::exact_t [inherited] |
mln::metal::array1d< T, Size >::array1d | ( | ) |
mln::metal::array1d< T, Size >::array1d | ( | T * | ptr | ) |
References mln::metal::array1d< T, Size >::buffer_.
mln::metal::array1d< T, Size >::array1d | ( | const array1d< T, Size > & | rhs | ) |
References mln::metal::array1d< T, Size >::buffer_.
T mln::metal::array1d< T, Size >::get | ( | ) | const [inline] |
T& mln::metal::array1d< T, Size >::get | ( | ) | [inline] |
array1d< T, Size > mln::metal::array1d< T, Size >::operator* | ( | U | w | ) |
References mln::metal::array1d< T, Size >::buffer_.
array1d< typename mln::trait::op::plus< T, U >::ret, Size > mln::metal::array1d< T, Size >::operator+ | ( | const array1d< U, Size > & | rhs | ) | const |
References mln::metal::array1d< T, Size >::buffer_.
array1d< T, Size > & mln::metal::array1d< T, Size >::operator+= | ( | const array1d< T, Size > & | rhs | ) |
References mln::metal::array1d< T, Size >::buffer_.
array1d< typename mln::trait::op::minus< T, U >::ret, Size > mln::metal::array1d< T, Size >::operator- | ( | const array1d< U, Size > & | rhs | ) | const |
References mln::metal::array1d< T, Size >::buffer_.
array1d< T, Size > & mln::metal::array1d< T, Size >::operator-= | ( | const array1d< T, Size > & | rhs | ) |
References mln::metal::array1d< T, Size >::buffer_.
array1d< typename mln::trait::op::div< T, U >::ret, Size > mln::metal::array1d< T, Size >::operator/ | ( | U | w | ) |
References mln::metal::array1d< T, Size >::buffer_.
array1d< T, Size > & mln::metal::array1d< T, Size >::operator= | ( | const array1d< T, Size > & | rhs | ) |
References mln::metal::array1d< T, Size >::buffer_.
T& mln::metal::array1d< T, Size >::operator[] | ( | unsigned | i | ) | [inline] |
T mln::metal::array1d< T, Size >::operator[] | ( | unsigned | i | ) | const [inline] |
T mln::metal::array1d< T, Size >::buffer_[Size] [protected] |
Referenced by mln::metal::array1d< T, Size >::array1d(), mln::metal::array1d< T, Size >::operator*(), mln::metal::array1d< T, Size >::operator+(), mln::metal::array1d< T, Size >::operator+=(), mln::metal::array1d< T, Size >::operator-(), mln::metal::array1d< T, Size >::operator-=(), mln::metal::array1d< T, Size >::operator/(), and mln::metal::array1d< T, Size >::operator=().