Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::numeric::ublas::bounded_matrix< T, M, N, L > Class Template Reference

A dense matrix of values of type T with a variable size bounded to a maximum of $M$ by $N$. More...

#include <matrix.hpp>

Inheritance diagram for boost::numeric::ublas::bounded_matrix< T, M, N, L >:
Collaboration diagram for boost::numeric::ublas::bounded_matrix< T, M, N, L >:

Public Types

typedef matrix_type::size_type size_type
 
typedef bounded_array< T, M *N >
::difference_type 
difference_type
 
typedef T value_type
 
typedef const Tconst_reference
 
typedef Treference
 
typedef bounded_array< T, M *Narray_type
 
typedef const matrix_reference
< const self_type
const_closure_type
 
typedef matrix_reference
< self_type
closure_type
 
typedef vector< T,
bounded_array< T, M *N > > 
vector_temporary_type
 
typedef self_type matrix_temporary_type
 
typedef dense_tag storage_category
 
typedef L::orientation_category orientation_category
 
typedef reverse_iterator_base1
< const_iterator1 > 
const_reverse_iterator1
 
typedef reverse_iterator_base1
< iterator1 > 
reverse_iterator1
 
typedef reverse_iterator_base2
< const_iterator2 > 
const_reverse_iterator2
 
typedef reverse_iterator_base2
< iterator2 > 
reverse_iterator2
 
typedef matrix< T, L,
bounded_array< T, M *N > > 
container_type
 
typedef matrix_tag type_category
 
typedef E expression_type
 

Public Member Functions

BOOST_UBLAS_INLINE bounded_matrix ()
 
BOOST_UBLAS_INLINE bounded_matrix (size_type size1, size_type size2)
 
BOOST_UBLAS_INLINE bounded_matrix (const bounded_matrix &m)
 
template<class A2 >
BOOST_UBLAS_INLINE bounded_matrix (const matrix< T, L, A2 > &m)
 
template<class AE >
BOOST_UBLAS_INLINE bounded_matrix (const matrix_expression< AE > &ae)
 
BOOST_UBLAS_INLINE ~bounded_matrix ()
 
BOOST_UBLAS_INLINE bounded_matrixoperator= (const bounded_matrix &m)
 
template<class L2 , class A2 >
BOOST_UBLAS_INLINE bounded_matrixoperator= (const matrix< T, L2, A2 > &m)
 
template<class C >
BOOST_UBLAS_INLINE bounded_matrixoperator= (const matrix_container< C > &m)
 
template<class AE >
BOOST_UBLAS_INLINE bounded_matrixoperator= (const matrix_expression< AE > &ae)
 
BOOST_UBLAS_INLINE size_type size1 () const
 Return the number of rows of the matrix You can also use the free size<>() function in operation/size.hpp as size<1>(m) where m is a matrix. More...
 
BOOST_UBLAS_INLINE size_type size2 () const
 Return the number of colums of the matrix You can also use the free size<>() function in operation/size.hpp as size<2>(m) where m is a matrix. More...
 
BOOST_UBLAS_INLINE const
array_type
data () const
 Return a constant reference to the internal storage of a dense matrix, i.e. More...
 
BOOST_UBLAS_INLINE array_typedata ()
 Return a reference to the internal storage of a dense matrix, i.e. More...
 
BOOST_UBLAS_INLINE void resize (size_type size1, size_type size2, bool preserve=true)
 Resize a matrix to new dimensions If data are preserved, then if the size if bigger at least on one dimension, extra values are filled with zeros. More...
 
BOOST_UBLAS_INLINE const_reference operator() (size_type i, size_type j) const
 Access a matrix element. More...
 
BOOST_UBLAS_INLINE reference operator() (size_type i, size_type j)
 Access a matrix element. More...
 
BOOST_UBLAS_INLINE const
container_type
operator() () const
 
BOOST_UBLAS_INLINE container_typeoperator() ()
 
BOOST_UBLAS_INLINE reference at_element (size_type i, size_type j)
 Access a matrix element. More...
 
BOOST_UBLAS_INLINE reference insert_element (size_type i, size_type j, const_reference t)
 Change the value of a matrix element. More...
 
void erase_element (size_type i, size_type j)
 Erase the element For most types (int, double, etc...) it means setting 0 (zero) the element at zero in fact. More...
 
BOOST_UBLAS_INLINE void clear ()
 Erase all elements in the matrix For most types (int, double, etc...) it means writing 0 (zero) everywhere. More...
 
BOOST_UBLAS_INLINE matrixassign_temporary (matrix &m)
 
BOOST_UBLAS_INLINE matrixassign (const matrix_expression< AE > &ae)
 
BOOST_UBLAS_INLINE matrixoperator+= (const matrix_expression< AE > &ae)
 
BOOST_UBLAS_INLINE matrixoperator+= (const matrix_container< C > &m)
 
BOOST_UBLAS_INLINE matrixplus_assign (const matrix_expression< AE > &ae)
 
BOOST_UBLAS_INLINE matrixoperator-= (const matrix_expression< AE > &ae)
 
BOOST_UBLAS_INLINE matrixoperator-= (const matrix_container< C > &m)
 
BOOST_UBLAS_INLINE matrixminus_assign (const matrix_expression< AE > &ae)
 
BOOST_UBLAS_INLINE matrixoperator*= (const AT &at)
 
BOOST_UBLAS_INLINE matrixoperator/= (const AT &at)
 
BOOST_UBLAS_INLINE void swap (matrix &m)
 
BOOST_UBLAS_INLINE const_iterator1 find1 (int, size_type i, size_type j) const
 
BOOST_UBLAS_INLINE iterator1 find1 (int, size_type i, size_type j)
 
BOOST_UBLAS_INLINE const_iterator2 find2 (int, size_type i, size_type j) const
 
BOOST_UBLAS_INLINE iterator2 find2 (int, size_type i, size_type j)
 
BOOST_UBLAS_INLINE const_iterator1 begin1 () const
 
BOOST_UBLAS_INLINE iterator1 begin1 ()
 
BOOST_UBLAS_INLINE const_iterator1 cbegin1 () const
 
BOOST_UBLAS_INLINE const_iterator1 end1 () const
 
BOOST_UBLAS_INLINE iterator1 end1 ()
 
BOOST_UBLAS_INLINE const_iterator1 cend1 () const
 
BOOST_UBLAS_INLINE const_iterator2 begin2 () const
 
BOOST_UBLAS_INLINE iterator2 begin2 ()
 
BOOST_UBLAS_INLINE const_iterator2 cbegin2 () const
 
BOOST_UBLAS_INLINE const_iterator2 end2 () const
 
BOOST_UBLAS_INLINE iterator2 end2 ()
 
BOOST_UBLAS_INLINE const_iterator2 cend2 () const
 
BOOST_UBLAS_INLINE
const_reverse_iterator1 
rbegin1 () const
 
BOOST_UBLAS_INLINE
reverse_iterator1 
rbegin1 ()
 
BOOST_UBLAS_INLINE
const_reverse_iterator1 
crbegin1 () const
 
BOOST_UBLAS_INLINE
const_reverse_iterator1 
rend1 () const
 
BOOST_UBLAS_INLINE
reverse_iterator1 
rend1 ()
 
BOOST_UBLAS_INLINE
const_reverse_iterator1 
crend1 () const
 
BOOST_UBLAS_INLINE
const_reverse_iterator2 
rbegin2 () const
 
BOOST_UBLAS_INLINE
reverse_iterator2 
rbegin2 ()
 
BOOST_UBLAS_INLINE
const_reverse_iterator2 
crbegin2 () const
 
BOOST_UBLAS_INLINE
const_reverse_iterator2 
rend2 () const
 
BOOST_UBLAS_INLINE
reverse_iterator2 
rend2 ()
 
BOOST_UBLAS_INLINE
const_reverse_iterator2 
crend2 () const
 
void serialize (Archive &ar, const unsigned int)
 

Static Public Attributes

static const size_type max_size1 = M
 
static const size_type max_size2 = N
 
static const unsigned complexity
 

Detailed Description

template<class T, std::size_t M, std::size_t N, class L>
class boost::numeric::ublas::bounded_matrix< T, M, N, L >

A dense matrix of values of type T with a variable size bounded to a maximum of $M$ by $N$.

For a $(m \times n)$-dimensional matrix and $ 0 \leq i < m, 0 \leq j < n$, every element $m_{i,j}$ is mapped to the $(i.n + j)$-th element of the container for row major orientation or the $(i + j.m)$-th element of the container for column major orientation. Finally in a dense matrix all elements are represented in memory in a contiguous chunk of memory.

Orientation can be specified. Default is row_major The default constructor creates the matrix with size $M$ by $N$. Elements are constructed by the storage type bounded_array, which need not initialise their value.

Template Parameters
Tthe type of object stored in the matrix (like double, float, complex, etc...)
Mmaximum and default number of rows (if not specified at construction)
Nmaximum and default number of columns (if not specified at construction)
Lthe storage organization. It can be either row_major or column_major. Default is row_major

Member Typedef Documentation

typedef bounded_array< T, M *N > boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::array_type
inherited
typedef const T& boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::const_reference
inherited
typedef reverse_iterator_base1<const_iterator1> boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::const_reverse_iterator1
inherited
typedef reverse_iterator_base2<const_iterator2> boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::const_reverse_iterator2
inherited
template<class E>
typedef E boost::numeric::ublas::matrix_expression< E >::expression_type
inherited
typedef L::orientation_category boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::orientation_category
inherited
typedef T& boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::reference
inherited
typedef reverse_iterator_base1<iterator1> boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::reverse_iterator1
inherited
typedef reverse_iterator_base2<iterator2> boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::reverse_iterator2
inherited
template<class T , std::size_t M, std::size_t N, class L >
typedef matrix_type::size_type boost::numeric::ublas::bounded_matrix< T, M, N, L >::size_type
typedef T boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::value_type
inherited

Constructor & Destructor Documentation

template<class T , std::size_t M, std::size_t N, class L >
BOOST_UBLAS_INLINE boost::numeric::ublas::bounded_matrix< T, M, N, L >::bounded_matrix ( )
inline
template<class T , std::size_t M, std::size_t N, class L >
BOOST_UBLAS_INLINE boost::numeric::ublas::bounded_matrix< T, M, N, L >::bounded_matrix ( size_type  size1,
size_type  size2 
)
inline
template<class T , std::size_t M, std::size_t N, class L >
BOOST_UBLAS_INLINE boost::numeric::ublas::bounded_matrix< T, M, N, L >::bounded_matrix ( const bounded_matrix< T, M, N, L > &  m)
inline
template<class T , std::size_t M, std::size_t N, class L >
template<class A2 >
BOOST_UBLAS_INLINE boost::numeric::ublas::bounded_matrix< T, M, N, L >::bounded_matrix ( const matrix< T, L, A2 > &  m)
inline
template<class T , std::size_t M, std::size_t N, class L >
template<class AE >
BOOST_UBLAS_INLINE boost::numeric::ublas::bounded_matrix< T, M, N, L >::bounded_matrix ( const matrix_expression< AE > &  ae)
inline
template<class T , std::size_t M, std::size_t N, class L >
BOOST_UBLAS_INLINE boost::numeric::ublas::bounded_matrix< T, M, N, L >::~bounded_matrix ( )
inline

Member Function Documentation

BOOST_UBLAS_INLINE matrix& boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::assign ( const matrix_expression< AE > &  ae)
inlineinherited
BOOST_UBLAS_INLINE matrix& boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::assign_temporary ( matrix< T, L, bounded_array< T, M *N > > &  m)
inlineinherited
BOOST_UBLAS_INLINE reference boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::at_element ( size_type  i,
size_type  j 
)
inlineinherited

Access a matrix element.

Here we return a reference

Parameters
ithe first coordinate of the element. By default it's the row
jthe second coordinate of the element. By default it's the column
Returns
a reference to the element

References boost::numeric::ublas::matrix< T, L, A >::data().

BOOST_UBLAS_INLINE const_iterator1 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::begin1 ( ) const
inlineinherited
BOOST_UBLAS_INLINE iterator1 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::begin1 ( )
inlineinherited
BOOST_UBLAS_INLINE const_iterator2 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::begin2 ( ) const
inlineinherited
BOOST_UBLAS_INLINE iterator2 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::begin2 ( )
inlineinherited
BOOST_UBLAS_INLINE const_iterator1 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::cbegin1 ( ) const
inlineinherited
BOOST_UBLAS_INLINE const_iterator2 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::cbegin2 ( ) const
inlineinherited
BOOST_UBLAS_INLINE const_iterator1 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::cend1 ( ) const
inlineinherited
BOOST_UBLAS_INLINE const_iterator2 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::cend2 ( ) const
inlineinherited
BOOST_UBLAS_INLINE void boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::clear ( void  )
inlineinherited

Erase all elements in the matrix For most types (int, double, etc...) it means writing 0 (zero) everywhere.

For user-defined types, it could be another value if you decided it. Your type in that case must contain a default null value.

References boost::numeric::ublas::begin(), boost::numeric::ublas::matrix< T, L, A >::data(), boost::numeric::ublas::end(), and std::fill().

BOOST_UBLAS_INLINE const_reverse_iterator1 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::crbegin1 ( ) const
inlineinherited
BOOST_UBLAS_INLINE const_reverse_iterator2 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::crbegin2 ( ) const
inlineinherited
BOOST_UBLAS_INLINE const_reverse_iterator1 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::crend1 ( ) const
inlineinherited
BOOST_UBLAS_INLINE const_reverse_iterator2 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::crend2 ( ) const
inlineinherited
BOOST_UBLAS_INLINE const array_type& boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::data ( ) const
inlineinherited

Return a constant reference to the internal storage of a dense matrix, i.e.

the raw data It's type depends on the type used by the matrix to store its data

BOOST_UBLAS_INLINE array_type& boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::data ( )
inlineinherited

Return a reference to the internal storage of a dense matrix, i.e.

the raw data It's type depends on the type used by the matrix to store its data

BOOST_UBLAS_INLINE const_iterator1 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::end1 ( ) const
inlineinherited
BOOST_UBLAS_INLINE iterator1 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::end1 ( )
inlineinherited
BOOST_UBLAS_INLINE const_iterator2 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::end2 ( ) const
inlineinherited
BOOST_UBLAS_INLINE iterator2 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::end2 ( )
inlineinherited
void boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::erase_element ( size_type  i,
size_type  j 
)
inlineinherited

Erase the element For most types (int, double, etc...) it means setting 0 (zero) the element at zero in fact.

For user-defined types, it could be another value if you decided it. Your type in that case must contain a default null value.

Parameters
ithe first coordinate of the element. By default it's the row
jthe second coordinate of the element. By default it's the column

References boost::numeric::ublas::matrix< T, L, A >::at_element().

BOOST_UBLAS_INLINE const_iterator1 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::find1 ( int  ,
size_type  i,
size_type  j 
) const
inlineinherited
BOOST_UBLAS_INLINE iterator1 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::find1 ( int  ,
size_type  i,
size_type  j 
)
inlineinherited
BOOST_UBLAS_INLINE const_iterator2 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::find2 ( int  ,
size_type  i,
size_type  j 
) const
inlineinherited
BOOST_UBLAS_INLINE iterator2 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::find2 ( int  ,
size_type  i,
size_type  j 
)
inlineinherited
BOOST_UBLAS_INLINE reference boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::insert_element ( size_type  i,
size_type  j,
const_reference  t 
)
inlineinherited

Change the value of a matrix element.

Return back a reference to it

Parameters
ithe first coordinate of the element. By default it's the row
jthe second coordinate of the element. By default it's the column
tthe new value of the element
Returns
a reference to the newly changed element

References boost::numeric::ublas::matrix< T, L, A >::at_element().

BOOST_UBLAS_INLINE matrix& boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::minus_assign ( const matrix_expression< AE > &  ae)
inlineinherited
BOOST_UBLAS_INLINE const_reference boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::operator() ( size_type  i,
size_type  j 
) const
inlineinherited

Access a matrix element.

Here we return a const reference

Parameters
ithe first coordinate of the element. By default it's the row
jthe second coordinate of the element. By default it's the column
Returns
a const reference to the element

References boost::numeric::ublas::matrix< T, L, A >::data().

BOOST_UBLAS_INLINE reference boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::operator() ( size_type  i,
size_type  j 
)
inlineinherited

Access a matrix element.

Here we return a reference

Parameters
ithe first coordinate of the element. By default it's the row
jthe second coordinate of the element. By default it's the column
Returns
a reference to the element

References boost::numeric::ublas::matrix< T, L, A >::at_element().

BOOST_UBLAS_INLINE const container_type& boost::numeric::ublas::matrix_container< matrix< T, L, bounded_array< T, M *N > > >::operator() ( ) const
inlineinherited
BOOST_UBLAS_INLINE container_type& boost::numeric::ublas::matrix_container< matrix< T, L, bounded_array< T, M *N > > >::operator() ( )
inlineinherited
BOOST_UBLAS_INLINE matrix& boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::operator*= ( const AT &  at)
inlineinherited

References boost::xpressive::at.

BOOST_UBLAS_INLINE matrix& boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::operator+= ( const matrix_expression< AE > &  ae)
inlineinherited
BOOST_UBLAS_INLINE matrix& boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::operator+= ( const matrix_container< C > &  m)
inlineinherited
BOOST_UBLAS_INLINE matrix& boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::operator-= ( const matrix_expression< AE > &  ae)
inlineinherited
BOOST_UBLAS_INLINE matrix& boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::operator-= ( const matrix_container< C > &  m)
inlineinherited
BOOST_UBLAS_INLINE matrix& boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::operator/= ( const AT &  at)
inlineinherited

References boost::xpressive::at.

template<class T , std::size_t M, std::size_t N, class L >
BOOST_UBLAS_INLINE bounded_matrix& boost::numeric::ublas::bounded_matrix< T, M, N, L >::operator= ( const bounded_matrix< T, M, N, L > &  m)
inline
template<class T , std::size_t M, std::size_t N, class L >
template<class L2 , class A2 >
BOOST_UBLAS_INLINE bounded_matrix& boost::numeric::ublas::bounded_matrix< T, M, N, L >::operator= ( const matrix< T, L2, A2 > &  m)
inline
template<class T , std::size_t M, std::size_t N, class L >
template<class C >
BOOST_UBLAS_INLINE bounded_matrix& boost::numeric::ublas::bounded_matrix< T, M, N, L >::operator= ( const matrix_container< C > &  m)
inline
template<class T , std::size_t M, std::size_t N, class L >
template<class AE >
BOOST_UBLAS_INLINE bounded_matrix& boost::numeric::ublas::bounded_matrix< T, M, N, L >::operator= ( const matrix_expression< AE > &  ae)
inline
BOOST_UBLAS_INLINE matrix& boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::plus_assign ( const matrix_expression< AE > &  ae)
inlineinherited
BOOST_UBLAS_INLINE const_reverse_iterator1 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::rbegin1 ( ) const
inlineinherited
BOOST_UBLAS_INLINE reverse_iterator1 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::rbegin1 ( )
inlineinherited
BOOST_UBLAS_INLINE const_reverse_iterator2 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::rbegin2 ( ) const
inlineinherited
BOOST_UBLAS_INLINE reverse_iterator2 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::rbegin2 ( )
inlineinherited
BOOST_UBLAS_INLINE const_reverse_iterator1 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::rend1 ( ) const
inlineinherited
BOOST_UBLAS_INLINE reverse_iterator1 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::rend1 ( )
inlineinherited
BOOST_UBLAS_INLINE const_reverse_iterator2 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::rend2 ( ) const
inlineinherited
BOOST_UBLAS_INLINE reverse_iterator2 boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::rend2 ( )
inlineinherited
BOOST_UBLAS_INLINE void boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::resize ( size_type  size1,
size_type  size2,
bool  preserve = true 
)
inlineinherited

Resize a matrix to new dimensions If data are preserved, then if the size if bigger at least on one dimension, extra values are filled with zeros.

If data are not preserved, then nothing has to be assumed regarding the content of the matrix after resizing.

Parameters
size1the new number of rows
size2the new number of colums
preservea boolean to say if one wants the data to be preserved during the resizing. Default is true.

References boost::numeric::ublas::matrix< T, L, A >::data(), boost::numeric::ublas::matrix< T, L, A >::size1(), and boost::numeric::ublas::matrix< T, L, A >::size2().

void boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::serialize ( Archive &  ar,
const unsigned  int 
)
inlineinherited
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::size1 ( ) const
inlineinherited

Return the number of rows of the matrix You can also use the free size<>() function in operation/size.hpp as size<1>(m) where m is a matrix.

BOOST_UBLAS_INLINE size_type boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::size2 ( ) const
inlineinherited

Return the number of colums of the matrix You can also use the free size<>() function in operation/size.hpp as size<2>(m) where m is a matrix.

BOOST_UBLAS_INLINE void boost::numeric::ublas::matrix< T, L, bounded_array< T, M *N > >::swap ( matrix< T, L, bounded_array< T, M *N > > &  m)
inlineinherited

Member Data Documentation

const unsigned boost::numeric::ublas::matrix_container< matrix< T, L, bounded_array< T, M *N > > >::complexity
staticinherited
template<class T , std::size_t M, std::size_t N, class L >
const size_type boost::numeric::ublas::bounded_matrix< T, M, N, L >::max_size1 = M
static
template<class T , std::size_t M, std::size_t N, class L >
const size_type boost::numeric::ublas::bounded_matrix< T, M, N, L >::max_size2 = N
static

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