aimstil  5.0.5
til::matrix< TStorage > Class Template Reference

#include <til/Matrix3.h>

Public Types

typedef matrix< TStorage > Self
 
typedef TStorage::value_type value_type
 
typedef TStorage::reference reference
 
typedef TStorage::const_reference const_reference
 
typedef TStorage::range range
 
typedef TStorage::const_range const_range
 

Public Member Functions

 matrix ()
 Default contructor. More...
 
 matrix (numeric_array< std::size_t, 2 > dims)
 Initialization with size. More...
 
 matrix (numeric_array< std::size_t, 2 > dims, value_type v)
 Initialization with size and fill value. More...
 
 matrix (const TStorage &data)
 Initialization from container. More...
 
const TStorage & data () const
 
TStorage & data ()
 
numeric_array< std::size_t, 2 > dims () const
 Returns matrix size. More...
 
range whole_range ()
 
const_range whole_range () const
 
reference operator() (const numeric_array< std::size_t, 2 > &pos)
 
const_reference operator() (const numeric_array< std::size_t, 2 > &pos) const
 

Detailed Description

template<typename TStorage>
class til::matrix< TStorage >

Definition at line 28 of file Matrix3.h.

Member Typedef Documentation

◆ const_range

template<typename TStorage >
typedef TStorage::const_range til::matrix< TStorage >::const_range

Definition at line 36 of file Matrix3.h.

◆ const_reference

template<typename TStorage >
typedef TStorage::const_reference til::matrix< TStorage >::const_reference

Definition at line 34 of file Matrix3.h.

◆ range

template<typename TStorage >
typedef TStorage::range til::matrix< TStorage >::range

Definition at line 35 of file Matrix3.h.

◆ reference

template<typename TStorage >
typedef TStorage::reference til::matrix< TStorage >::reference

Definition at line 33 of file Matrix3.h.

◆ Self

template<typename TStorage >
typedef matrix<TStorage> til::matrix< TStorage >::Self

Definition at line 31 of file Matrix3.h.

◆ value_type

template<typename TStorage >
typedef TStorage::value_type til::matrix< TStorage >::value_type

Definition at line 32 of file Matrix3.h.

Constructor & Destructor Documentation

◆ matrix() [1/4]

template<typename TStorage >
til::matrix< TStorage >::matrix ( )
inline

Default contructor.

Definition at line 39 of file Matrix3.h.

◆ matrix() [2/4]

template<typename TStorage >
til::matrix< TStorage >::matrix ( numeric_array< std::size_t, 2 >  dims)
inline

Initialization with size.

Definition at line 41 of file Matrix3.h.

◆ matrix() [3/4]

template<typename TStorage >
til::matrix< TStorage >::matrix ( numeric_array< std::size_t, 2 >  dims,
value_type  v 
)
inline

Initialization with size and fill value.

Definition at line 43 of file Matrix3.h.

◆ matrix() [4/4]

template<typename TStorage >
til::matrix< TStorage >::matrix ( const TStorage &  data)
inline

Initialization from container.

Definition at line 45 of file Matrix3.h.

Member Function Documentation

◆ data() [1/2]

template<typename TStorage >
const TStorage& til::matrix< TStorage >::data ( ) const
inline

Definition at line 47 of file Matrix3.h.

◆ data() [2/2]

template<typename TStorage >
TStorage& til::matrix< TStorage >::data ( )
inline

Definition at line 48 of file Matrix3.h.

◆ dims()

template<typename TStorage >
numeric_array<std::size_t,2> til::matrix< TStorage >::dims ( ) const
inline

Returns matrix size.

Definition at line 51 of file Matrix3.h.

◆ operator()() [1/2]

template<typename TStorage >
reference til::matrix< TStorage >::operator() ( const numeric_array< std::size_t, 2 > &  pos)
inline

Definition at line 55 of file Matrix3.h.

◆ operator()() [2/2]

template<typename TStorage >
const_reference til::matrix< TStorage >::operator() ( const numeric_array< std::size_t, 2 > &  pos) const
inline

Definition at line 59 of file Matrix3.h.

◆ whole_range() [1/2]

template<typename TStorage >
range til::matrix< TStorage >::whole_range ( )
inline

Definition at line 52 of file Matrix3.h.

◆ whole_range() [2/2]

template<typename TStorage >
const_range til::matrix< TStorage >::whole_range ( ) const
inline

Definition at line 53 of file Matrix3.h.


The documentation for this class was generated from the following file: