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