CAPD::DynSys Library  6.0.0
capd::vectalg::MatrixContainer< Scalar, 0, 0 > Class Template Reference

#include <capd/vectalg/MatrixContainer.h>

Public Types

typedef Scalar ScalarType
 
typedef Container< Scalar, 0 >::iterator iterator
 
typedef Container< Scalar, 0 >::const_iterator const_iterator
 
typedef MatrixContainer ContainerType
 
typedef Container< Scalar, 0 > ColumnContainer
 
typedef Container< Scalar, 0 > RowContainer
 
typedef __size_type size_type
 
typedef __difference_type difference_type
 
typedef std::pair< size_type, size_typeDimension
 
typedef std::reverse_iterator< iteratorreverse_iterator
 
typedef std::reverse_iterator< const_iteratorconst_reverse_iterator
 

Public Member Functions

 MatrixContainer ()
 
 MatrixContainer (size_type _rows, size_type _cols)
 
 MatrixContainer (const MatrixContainer &mc)
 
 MatrixContainer (size_type _rows, size_type _cols, bool)
 
 MatrixContainer (const Dimension &d, bool)
 
 MatrixContainer (const Dimension &d)
 
 MatrixContainer (MatrixContainer &&v) noexcept
 
MatrixContaineroperator= (MatrixContainer &&v) noexcept
 
size_type numberOfRows () const
 
size_type numberOfColumns () const
 
MatrixContaineroperator= (const MatrixContainer &a)
 
size_type size () const
 
Dimension dimension () const
 
void resize (size_type r, size_type c)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
const_iterator begin () const
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
void resize (size_type)
 
ScalarTypeoperator[] (size_type)
 
const ScalarTypeoperator[] (size_type) const
 
ScalarTypeoperator() (size_type)
 
const ScalarTypeoperator() (size_type) const
 
bool empty () const
 
void clear ()
 

Static Public Attributes

static const size_type ROWS = 0
 
static const size_type COLS = 0
 

Protected Member Functions

void resize (size_type)
 

Protected Attributes

size_type m_rows
 
size_type m_cols
 
ScalarTypedata
 
size_type capacity =0u
 

Friends

void swap (MatrixContainer< Scalar, 0, 0 > &A_m1, MatrixContainer< Scalar, 0, 0 > &A_m2)
 

Member Typedef Documentation

◆ ColumnContainer

template<typename Scalar >
typedef Container<Scalar,0> capd::vectalg::MatrixContainer< Scalar, 0, 0 >::ColumnContainer

◆ const_iterator

template<typename Scalar >
typedef Container<Scalar,0>::const_iterator capd::vectalg::MatrixContainer< Scalar, 0, 0 >::const_iterator

◆ const_reverse_iterator

template<typename Scalar >
typedef std::reverse_iterator<const_iterator> capd::vectalg::Container< Scalar, 0 >::const_reverse_iterator
inherited

◆ ContainerType

template<typename Scalar >
typedef MatrixContainer capd::vectalg::MatrixContainer< Scalar, 0, 0 >::ContainerType

◆ difference_type

template<typename Scalar >
typedef __difference_type capd::vectalg::MatrixContainer< Scalar, 0, 0 >::difference_type

◆ Dimension

template<typename Scalar >
typedef std::pair<size_type,size_type> capd::vectalg::MatrixContainer< Scalar, 0, 0 >::Dimension

◆ iterator

template<typename Scalar >
typedef Container<Scalar,0>::iterator capd::vectalg::MatrixContainer< Scalar, 0, 0 >::iterator

◆ reverse_iterator

template<typename Scalar >
typedef std::reverse_iterator<iterator> capd::vectalg::Container< Scalar, 0 >::reverse_iterator
inherited

◆ RowContainer

template<typename Scalar >
typedef Container<Scalar,0> capd::vectalg::MatrixContainer< Scalar, 0, 0 >::RowContainer

◆ ScalarType

template<typename Scalar >
typedef Scalar capd::vectalg::MatrixContainer< Scalar, 0, 0 >::ScalarType

◆ size_type

template<typename Scalar >
typedef __size_type capd::vectalg::MatrixContainer< Scalar, 0, 0 >::size_type

Constructor & Destructor Documentation

◆ MatrixContainer() [1/7]

template<typename Scalar >
capd::vectalg::MatrixContainer< Scalar, 0, 0 >::MatrixContainer ( )
inline

◆ MatrixContainer() [2/7]

template<typename Scalar >
capd::vectalg::MatrixContainer< Scalar, 0, 0 >::MatrixContainer ( size_type  _rows,
size_type  _cols 
)
inline

◆ MatrixContainer() [3/7]

template<typename Scalar >
capd::vectalg::MatrixContainer< Scalar, 0, 0 >::MatrixContainer ( const MatrixContainer< Scalar, 0, 0 > &  mc)
inline

◆ MatrixContainer() [4/7]

template<typename Scalar >
capd::vectalg::MatrixContainer< Scalar, 0, 0 >::MatrixContainer ( size_type  _rows,
size_type  _cols,
bool   
)
inline

◆ MatrixContainer() [5/7]

template<typename Scalar >
capd::vectalg::MatrixContainer< Scalar, 0, 0 >::MatrixContainer ( const Dimension d,
bool   
)
inline

◆ MatrixContainer() [6/7]

template<typename Scalar >
capd::vectalg::MatrixContainer< Scalar, 0, 0 >::MatrixContainer ( const Dimension d)
inline

◆ MatrixContainer() [7/7]

template<typename Scalar >
capd::vectalg::MatrixContainer< Scalar, 0, 0 >::MatrixContainer ( MatrixContainer< Scalar, 0, 0 > &&  v)
inlinenoexcept

Member Function Documentation

◆ begin() [1/3]

template<typename Scalar >
Container< Scalar, 0 >::iterator capd::vectalg::Container< Scalar, 0 >::begin
inline

◆ begin() [2/3]

template<typename Scalar >
Container< Scalar, 0 >::const_iterator capd::vectalg::Container< Scalar, 0 >::begin
inlineinherited

◆ begin() [3/3]

template<typename Scalar >
Container< Scalar, 0 >::const_iterator capd::vectalg::Container< Scalar, 0 >::begin
inline

◆ clear()

template<typename Scalar >
void capd::vectalg::Container< Scalar, 0 >::clear
inherited

◆ dimension()

template<typename Scalar >
Dimension capd::vectalg::MatrixContainer< Scalar, 0, 0 >::dimension ( ) const
inline

◆ empty()

template<typename Scalar >
bool capd::vectalg::Container< Scalar, 0 >::empty ( ) const
inlineinherited

◆ end() [1/3]

template<typename Scalar >
Container< Scalar, 0 >::iterator capd::vectalg::Container< Scalar, 0 >::end
inline

◆ end() [2/3]

template<typename Scalar >
Container< Scalar, 0 >::const_iterator capd::vectalg::Container< Scalar, 0 >::end
inlineinherited

◆ end() [3/3]

template<typename Scalar >
Container< Scalar, 0 >::const_iterator capd::vectalg::Container< Scalar, 0 >::end
inline

◆ numberOfColumns()

template<typename Scalar >
size_type capd::vectalg::MatrixContainer< Scalar, 0, 0 >::numberOfColumns ( ) const
inline

◆ numberOfRows()

template<typename Scalar >
size_type capd::vectalg::MatrixContainer< Scalar, 0, 0 >::numberOfRows ( ) const
inline

◆ operator()() [1/2]

template<typename Scalar >
Scalar & capd::vectalg::Container< Scalar, 0 >::operator() ( size_type  i)
inlineinherited

◆ operator()() [2/2]

template<typename Scalar >
const Scalar & capd::vectalg::Container< Scalar, 0 >::operator() ( size_type  i) const
inlineinherited

◆ operator=() [1/2]

template<typename Scalar >
MatrixContainer& capd::vectalg::MatrixContainer< Scalar, 0, 0 >::operator= ( const MatrixContainer< Scalar, 0, 0 > &  a)
inline

◆ operator=() [2/2]

template<typename Scalar >
MatrixContainer& capd::vectalg::MatrixContainer< Scalar, 0, 0 >::operator= ( MatrixContainer< Scalar, 0, 0 > &&  v)
inlinenoexcept

◆ operator[]() [1/2]

template<typename Scalar >
Scalar & capd::vectalg::Container< Scalar, 0 >::operator[] ( size_type  i)
inlineinherited

◆ operator[]() [2/2]

template<typename Scalar >
const Scalar & capd::vectalg::Container< Scalar, 0 >::operator[] ( size_type  i) const
inlineinherited

◆ rbegin() [1/2]

template<typename Scalar >
Container< Scalar, 0 >::reverse_iterator capd::vectalg::Container< Scalar, 0 >::rbegin
inlineinherited

◆ rbegin() [2/2]

template<typename Scalar >
Container< Scalar, 0 >::const_reverse_iterator capd::vectalg::Container< Scalar, 0 >::rbegin
inlineinherited

◆ rend() [1/2]

template<typename Scalar >
Container< Scalar, 0 >::reverse_iterator capd::vectalg::Container< Scalar, 0 >::rend
inlineinherited

◆ rend() [2/2]

template<typename Scalar >
Container< Scalar, 0 >::const_reverse_iterator capd::vectalg::Container< Scalar, 0 >::rend
inlineinherited

◆ resize() [1/3]

template<typename Scalar >
void capd::vectalg::MatrixContainer< Scalar, 0, 0 >::resize ( size_type  r,
size_type  c 
)
inline

◆ resize() [2/3]

template<typename Scalar >
void capd::vectalg::Container< Scalar, 0 >::resize ( size_type  A_newCapacity)
inherited

◆ resize() [3/3]

template<typename Scalar >
void capd::vectalg::Container< Scalar, 0 >::resize
protected

◆ size()

template<typename Scalar >
size_type capd::vectalg::MatrixContainer< Scalar, 0, 0 >::size ( ) const
inline

Friends And Related Function Documentation

◆ swap

template<typename Scalar >
void swap ( MatrixContainer< Scalar, 0, 0 > &  A_m1,
MatrixContainer< Scalar, 0, 0 > &  A_m2 
)
friend

Member Data Documentation

◆ capacity

template<typename Scalar >
size_type capd::vectalg::Container< Scalar, 0 >::capacity =0u
protectedinherited

◆ COLS

template<typename Scalar >
const size_type capd::vectalg::MatrixContainer< Scalar, 0, 0 >::COLS = 0
static

◆ data

template<typename Scalar >
ScalarType* capd::vectalg::Container< Scalar, 0 >::data
protected

◆ m_cols

template<typename Scalar >
size_type capd::vectalg::MatrixContainer< Scalar, 0, 0 >::m_cols
protected

◆ m_rows

template<typename Scalar >
size_type capd::vectalg::MatrixContainer< Scalar, 0, 0 >::m_rows
protected

◆ ROWS

template<typename Scalar >
const size_type capd::vectalg::MatrixContainer< Scalar, 0, 0 >::ROWS = 0
static

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