Boost.uBlas 1.49
Linear Algebra in C++: matrices, vectors and numeric algorithms

boost::numeric::ublas::triangular_adaptor< M, TRI > Class Template Reference

#include <triangular.hpp>

Inheritance diagram for boost::numeric::ublas::triangular_adaptor< M, TRI >:
Collaboration diagram for boost::numeric::ublas::triangular_adaptor< M, TRI >:

List of all members.

Classes

class  const_iterator1
class  const_iterator2
class  iterator1
class  iterator2

Public Types

typedef self_type closure_type
typedef const self_type const_closure_type
typedef const M const_matrix_type
typedef M::const_reference const_reference
typedef reverse_iterator_base1
< const_iterator1
const_reverse_iterator1
typedef reverse_iterator_base2
< const_iterator2
const_reverse_iterator2
typedef M::difference_type difference_type
typedef triangular_adaptor< M,
TRI > 
expression_type
typedef boost::mpl::if_
< boost::is_const< M >
, typename
M::const_closure_type,
typename M::closure_type >
::type 
matrix_closure_type
typedef M matrix_type
typedef M::orientation_category orientation_category
typedef boost::mpl::if_
< boost::is_const< M >
, typename M::const_reference,
typename M::reference >::type 
reference
typedef reverse_iterator_base1
< iterator1
reverse_iterator1
typedef reverse_iterator_base2
< iterator2
reverse_iterator2
typedef M::size_type size_type
typedef
storage_restrict_traits
< typename M::storage_category,
packed_proxy_tag >
::storage_category 
storage_category
typedef TRI triangular_type
typedef matrix_tag type_category
typedef M::value_type value_type

Public Member Functions

BOOST_UBLAS_INLINE triangular_adaptor (matrix_type &data)
BOOST_UBLAS_INLINE triangular_adaptor (const triangular_adaptor &m)
template<class AE >
BOOST_UBLAS_INLINE
triangular_adaptor
assign (const matrix_expression< AE > &ae)
BOOST_UBLAS_INLINE
triangular_adaptor
assign_temporary (triangular_adaptor &m)
BOOST_UBLAS_INLINE const_iterator1 begin1 () const
BOOST_UBLAS_INLINE iterator1 begin1 ()
BOOST_UBLAS_INLINE const_iterator2 begin2 () const
BOOST_UBLAS_INLINE iterator2 begin2 ()
BOOST_UBLAS_INLINE const
matrix_closure_type
data () const
BOOST_UBLAS_INLINE
matrix_closure_type
data ()
BOOST_UBLAS_INLINE const_iterator1 end1 () const
BOOST_UBLAS_INLINE iterator1 end1 ()
BOOST_UBLAS_INLINE iterator2 end2 ()
BOOST_UBLAS_INLINE const_iterator2 end2 () const
BOOST_UBLAS_INLINE const_iterator1 find1 (int rank, size_type i, size_type j) const
BOOST_UBLAS_INLINE iterator1 find1 (int rank, size_type i, size_type j)
BOOST_UBLAS_INLINE const_iterator2 find2 (int rank, size_type i, size_type j) const
BOOST_UBLAS_INLINE iterator2 find2 (int rank, size_type i, size_type j)
template<class AE >
BOOST_UBLAS_INLINE
triangular_adaptor
minus_assign (const matrix_expression< AE > &ae)
BOOST_UBLAS_INLINE reference operator() (size_type i, size_type j)
BOOST_UBLAS_INLINE const
expression_type
operator() () const
BOOST_UBLAS_INLINE
expression_type
operator() ()
BOOST_UBLAS_INLINE const_reference operator() (size_type i, size_type j) const
template<class AT >
BOOST_UBLAS_INLINE
triangular_adaptor
operator*= (const AT &at)
template<class AE >
BOOST_UBLAS_INLINE
triangular_adaptor
operator+= (const matrix_expression< AE > &ae)
template<class AE >
BOOST_UBLAS_INLINE
triangular_adaptor
operator-= (const matrix_expression< AE > &ae)
template<class AT >
BOOST_UBLAS_INLINE
triangular_adaptor
operator/= (const AT &at)
BOOST_UBLAS_INLINE
triangular_adaptor
operator= (const triangular_adaptor &m)
template<class AE >
BOOST_UBLAS_INLINE
triangular_adaptor
operator= (const matrix_expression< AE > &ae)
template<class AE >
BOOST_UBLAS_INLINE
triangular_adaptor
plus_assign (const matrix_expression< AE > &ae)
BOOST_UBLAS_INLINE
reverse_iterator1 
rbegin1 ()
BOOST_UBLAS_INLINE
const_reverse_iterator1 
rbegin1 () const
BOOST_UBLAS_INLINE
reverse_iterator2 
rbegin2 ()
BOOST_UBLAS_INLINE
const_reverse_iterator2 
rbegin2 () const
BOOST_UBLAS_INLINE
const_reverse_iterator1 
rend1 () const
BOOST_UBLAS_INLINE
reverse_iterator1 
rend1 ()
BOOST_UBLAS_INLINE
reverse_iterator2 
rend2 ()
BOOST_UBLAS_INLINE
const_reverse_iterator2 
rend2 () const
BOOST_UBLAS_INLINE bool same_closure (const triangular_adaptor &ta) const
BOOST_UBLAS_INLINE size_type size1 () const
BOOST_UBLAS_INLINE size_type size2 () const
BOOST_UBLAS_INLINE void swap (triangular_adaptor &m)

Static Public Attributes

static const unsigned complexity

Private Types

typedef M::const_iterator1 const_subiterator1_type
typedef M::const_iterator2 const_subiterator2_type
typedef triangular_adaptor< M,
TRI > 
self_type
typedef boost::mpl::if_
< boost::is_const< M >
, typename M::const_iterator1,
typename M::iterator1 >::type 
subiterator1_type
typedef boost::mpl::if_
< boost::is_const< M >
, typename M::const_iterator2,
typename M::iterator2 >::type 
subiterator2_type

Private Attributes

matrix_closure_type data_

Static Private Attributes

static const value_type one_
static const value_type zero_ = value_type()

Friends

BOOST_UBLAS_INLINE friend void swap (triangular_adaptor &m1, triangular_adaptor &m2)

Detailed Description

template<class M, class TRI>
class boost::numeric::ublas::triangular_adaptor< M, TRI >

Definition at line 966 of file triangular.hpp.


Member Typedef Documentation

template<class M, class TRI>
typedef triangular_adaptor<M, TRI> boost::numeric::ublas::triangular_adaptor< M, TRI >::self_type [private]
template<class M, class TRI>
typedef const M boost::numeric::ublas::triangular_adaptor< M, TRI >::const_matrix_type

Definition at line 975 of file triangular.hpp.

template<class M, class TRI>
typedef M boost::numeric::ublas::triangular_adaptor< M, TRI >::matrix_type

Definition at line 976 of file triangular.hpp.

template<class M, class TRI>
typedef TRI boost::numeric::ublas::triangular_adaptor< M, TRI >::triangular_type

Definition at line 977 of file triangular.hpp.

template<class M, class TRI>
typedef M::size_type boost::numeric::ublas::triangular_adaptor< M, TRI >::size_type

Definition at line 978 of file triangular.hpp.

template<class M, class TRI>
typedef M::difference_type boost::numeric::ublas::triangular_adaptor< M, TRI >::difference_type

Definition at line 979 of file triangular.hpp.

template<class M, class TRI>
typedef M::value_type boost::numeric::ublas::triangular_adaptor< M, TRI >::value_type

Definition at line 980 of file triangular.hpp.

template<class M, class TRI>
typedef M::const_reference boost::numeric::ublas::triangular_adaptor< M, TRI >::const_reference

Definition at line 981 of file triangular.hpp.

template<class M, class TRI>
typedef boost::mpl::if_<boost::is_const<M>, typename M::const_reference, typename M::reference>::type boost::numeric::ublas::triangular_adaptor< M, TRI >::reference

Definition at line 984 of file triangular.hpp.

template<class M, class TRI>
typedef boost::mpl::if_<boost::is_const<M>, typename M::const_closure_type, typename M::closure_type>::type boost::numeric::ublas::triangular_adaptor< M, TRI >::matrix_closure_type

Definition at line 987 of file triangular.hpp.

template<class M, class TRI>
typedef const self_type boost::numeric::ublas::triangular_adaptor< M, TRI >::const_closure_type

Definition at line 988 of file triangular.hpp.

template<class M, class TRI>
typedef self_type boost::numeric::ublas::triangular_adaptor< M, TRI >::closure_type

Definition at line 989 of file triangular.hpp.

template<class M, class TRI>
typedef storage_restrict_traits<typename M::storage_category, packed_proxy_tag>::storage_category boost::numeric::ublas::triangular_adaptor< M, TRI >::storage_category

Definition at line 994 of file triangular.hpp.

template<class M, class TRI>
typedef M::orientation_category boost::numeric::ublas::triangular_adaptor< M, TRI >::orientation_category

Definition at line 995 of file triangular.hpp.

template<class M, class TRI>
typedef M::const_iterator1 boost::numeric::ublas::triangular_adaptor< M, TRI >::const_subiterator1_type [private]

Definition at line 1142 of file triangular.hpp.

template<class M, class TRI>
typedef boost::mpl::if_<boost::is_const<M>, typename M::const_iterator1, typename M::iterator1>::type boost::numeric::ublas::triangular_adaptor< M, TRI >::subiterator1_type [private]

Definition at line 1145 of file triangular.hpp.

template<class M, class TRI>
typedef M::const_iterator2 boost::numeric::ublas::triangular_adaptor< M, TRI >::const_subiterator2_type [private]

Definition at line 1146 of file triangular.hpp.

template<class M, class TRI>
typedef boost::mpl::if_<boost::is_const<M>, typename M::const_iterator2, typename M::iterator2>::type boost::numeric::ublas::triangular_adaptor< M, TRI >::subiterator2_type [private]

Definition at line 1149 of file triangular.hpp.

Definition at line 1161 of file triangular.hpp.

Definition at line 1164 of file triangular.hpp.

Definition at line 1165 of file triangular.hpp.

Definition at line 1166 of file triangular.hpp.


Constructor & Destructor Documentation

template<class M, class TRI>
BOOST_UBLAS_INLINE boost::numeric::ublas::triangular_adaptor< M, TRI >::triangular_adaptor ( matrix_type data) [inline]

Definition at line 999 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE boost::numeric::ublas::triangular_adaptor< M, TRI >::triangular_adaptor ( const triangular_adaptor< M, TRI > &  m) [inline]

Definition at line 1003 of file triangular.hpp.


Member Function Documentation

template<class M, class TRI>
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::triangular_adaptor< M, TRI >::size1 ( ) const [inline]

Definition at line 1009 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::triangular_adaptor< M, TRI >::size2 ( ) const [inline]

Definition at line 1013 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE const matrix_closure_type& boost::numeric::ublas::triangular_adaptor< M, TRI >::data ( ) const [inline]

Definition at line 1019 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE matrix_closure_type& boost::numeric::ublas::triangular_adaptor< M, TRI >::data ( ) [inline]

Definition at line 1023 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE const_reference boost::numeric::ublas::triangular_adaptor< M, TRI >::operator() ( size_type  i,
size_type  j 
) const [inline]

Definition at line 1030 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE reference boost::numeric::ublas::triangular_adaptor< M, TRI >::operator() ( size_type  i,
size_type  j 
) [inline]

Definition at line 1041 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE triangular_adaptor& boost::numeric::ublas::triangular_adaptor< M, TRI >::operator= ( const triangular_adaptor< M, TRI > &  m) [inline]

Definition at line 1065 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE triangular_adaptor& boost::numeric::ublas::triangular_adaptor< M, TRI >::assign_temporary ( triangular_adaptor< M, TRI > &  m) [inline]

Definition at line 1070 of file triangular.hpp.

template<class M, class TRI>
template<class AE >
BOOST_UBLAS_INLINE triangular_adaptor& boost::numeric::ublas::triangular_adaptor< M, TRI >::operator= ( const matrix_expression< AE > &  ae) [inline]

Definition at line 1076 of file triangular.hpp.

template<class M, class TRI>
template<class AE >
BOOST_UBLAS_INLINE triangular_adaptor& boost::numeric::ublas::triangular_adaptor< M, TRI >::assign ( const matrix_expression< AE > &  ae) [inline]

Definition at line 1082 of file triangular.hpp.

template<class M, class TRI>
template<class AE >
BOOST_UBLAS_INLINE triangular_adaptor& boost::numeric::ublas::triangular_adaptor< M, TRI >::operator+= ( const matrix_expression< AE > &  ae) [inline]

Definition at line 1088 of file triangular.hpp.

template<class M, class TRI>
template<class AE >
BOOST_UBLAS_INLINE triangular_adaptor& boost::numeric::ublas::triangular_adaptor< M, TRI >::plus_assign ( const matrix_expression< AE > &  ae) [inline]

Definition at line 1094 of file triangular.hpp.

template<class M, class TRI>
template<class AE >
BOOST_UBLAS_INLINE triangular_adaptor& boost::numeric::ublas::triangular_adaptor< M, TRI >::operator-= ( const matrix_expression< AE > &  ae) [inline]

Definition at line 1100 of file triangular.hpp.

template<class M, class TRI>
template<class AE >
BOOST_UBLAS_INLINE triangular_adaptor& boost::numeric::ublas::triangular_adaptor< M, TRI >::minus_assign ( const matrix_expression< AE > &  ae) [inline]

Definition at line 1106 of file triangular.hpp.

template<class M, class TRI>
template<class AT >
BOOST_UBLAS_INLINE triangular_adaptor& boost::numeric::ublas::triangular_adaptor< M, TRI >::operator*= ( const AT &  at) [inline]

Definition at line 1112 of file triangular.hpp.

template<class M, class TRI>
template<class AT >
BOOST_UBLAS_INLINE triangular_adaptor& boost::numeric::ublas::triangular_adaptor< M, TRI >::operator/= ( const AT &  at) [inline]

Definition at line 1118 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE bool boost::numeric::ublas::triangular_adaptor< M, TRI >::same_closure ( const triangular_adaptor< M, TRI > &  ta) const [inline]

Definition at line 1125 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE void boost::numeric::ublas::triangular_adaptor< M, TRI >::swap ( triangular_adaptor< M, TRI > &  m) [inline]

Definition at line 1131 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE const_iterator1 boost::numeric::ublas::triangular_adaptor< M, TRI >::find1 ( int  rank,
size_type  i,
size_type  j 
) const [inline]

Definition at line 1170 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE iterator1 boost::numeric::ublas::triangular_adaptor< M, TRI >::find1 ( int  rank,
size_type  i,
size_type  j 
) [inline]

Definition at line 1178 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE const_iterator2 boost::numeric::ublas::triangular_adaptor< M, TRI >::find2 ( int  rank,
size_type  i,
size_type  j 
) const [inline]

Definition at line 1186 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE iterator2 boost::numeric::ublas::triangular_adaptor< M, TRI >::find2 ( int  rank,
size_type  i,
size_type  j 
) [inline]

Definition at line 1194 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE const_iterator1 boost::numeric::ublas::triangular_adaptor< M, TRI >::begin1 ( ) const [inline]

Definition at line 1341 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE const_iterator1 boost::numeric::ublas::triangular_adaptor< M, TRI >::end1 ( ) const [inline]

Definition at line 1345 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE iterator1 boost::numeric::ublas::triangular_adaptor< M, TRI >::begin1 ( ) [inline]

Definition at line 1485 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE iterator1 boost::numeric::ublas::triangular_adaptor< M, TRI >::end1 ( ) [inline]

Definition at line 1489 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE const_iterator2 boost::numeric::ublas::triangular_adaptor< M, TRI >::begin2 ( ) const [inline]

Definition at line 1630 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE const_iterator2 boost::numeric::ublas::triangular_adaptor< M, TRI >::end2 ( ) const [inline]

Definition at line 1634 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE iterator2 boost::numeric::ublas::triangular_adaptor< M, TRI >::begin2 ( ) [inline]

Definition at line 1774 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE iterator2 boost::numeric::ublas::triangular_adaptor< M, TRI >::end2 ( ) [inline]

Definition at line 1778 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE const_reverse_iterator1 boost::numeric::ublas::triangular_adaptor< M, TRI >::rbegin1 ( ) const [inline]

Definition at line 1785 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE const_reverse_iterator1 boost::numeric::ublas::triangular_adaptor< M, TRI >::rend1 ( ) const [inline]

Definition at line 1789 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE reverse_iterator1 boost::numeric::ublas::triangular_adaptor< M, TRI >::rbegin1 ( ) [inline]

Definition at line 1794 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE reverse_iterator1 boost::numeric::ublas::triangular_adaptor< M, TRI >::rend1 ( ) [inline]

Definition at line 1798 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE const_reverse_iterator2 boost::numeric::ublas::triangular_adaptor< M, TRI >::rbegin2 ( ) const [inline]

Definition at line 1803 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE const_reverse_iterator2 boost::numeric::ublas::triangular_adaptor< M, TRI >::rend2 ( ) const [inline]

Definition at line 1807 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE reverse_iterator2 boost::numeric::ublas::triangular_adaptor< M, TRI >::rbegin2 ( ) [inline]

Definition at line 1812 of file triangular.hpp.

template<class M, class TRI>
BOOST_UBLAS_INLINE reverse_iterator2 boost::numeric::ublas::triangular_adaptor< M, TRI >::rend2 ( ) [inline]

Definition at line 1816 of file triangular.hpp.

BOOST_UBLAS_INLINE const expression_type& boost::numeric::ublas::matrix_expression< triangular_adaptor< M, TRI > >::operator() ( ) const [inline, inherited]

Definition at line 320 of file expression_types.hpp.

BOOST_UBLAS_INLINE expression_type& boost::numeric::ublas::matrix_expression< triangular_adaptor< M, TRI > >::operator() ( ) [inline, inherited]

Definition at line 324 of file expression_types.hpp.


Friends And Related Function Documentation

template<class M, class TRI>
BOOST_UBLAS_INLINE friend void swap ( triangular_adaptor< M, TRI > &  m1,
triangular_adaptor< M, TRI > &  m2 
) [friend]

Definition at line 1136 of file triangular.hpp.


Member Data Documentation

template<class M, class TRI>
matrix_closure_type boost::numeric::ublas::triangular_adaptor< M, TRI >::data_ [private]

Definition at line 1821 of file triangular.hpp.

template<class M, class TRI>
const triangular_adaptor< M, TRI >::value_type boost::numeric::ublas::triangular_adaptor< M, TRI >::zero_ = value_type() [static, private]

Definition at line 1822 of file triangular.hpp.

template<class M, class TRI>
const triangular_adaptor< M, TRI >::value_type boost::numeric::ublas::triangular_adaptor< M, TRI >::one_ [static, private]

Definition at line 1823 of file triangular.hpp.

const unsigned boost::numeric::ublas::matrix_expression< triangular_adaptor< M, TRI > >::complexity [static, inherited]

Definition at line 312 of file expression_types.hpp.


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