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

boost::numeric::ublas::matrix_unary2< E, F > Class Template Reference

#include <matrix_expression.hpp>

Inheritance diagram for boost::numeric::ublas::matrix_unary2< E, F >:
Collaboration diagram for boost::numeric::ublas::matrix_unary2< E, F >:

List of all members.

Classes

class  const_iterator1
class  const_iterator2

Public Types

typedef self_type closure_type
typedef const self_type const_closure_type
typedef value_type const_reference
typedef reverse_iterator_base1
< const_iterator1
const_reverse_iterator1
typedef reverse_iterator_base2
< const_iterator2
const_reverse_iterator2
typedef E::difference_type difference_type
typedef boost::mpl::if_
< boost::is_const
< expression_type >, typename
E::const_closure_type,
typename E::closure_type >
::type 
expression_closure_type
typedef const_iterator1 iterator1
typedef const_iterator2 iterator2
typedef boost::mpl::if_
< boost::is_same< typename
E::orientation_category,
row_major_tag >
, column_major_tag, typename
boost::mpl::if_
< boost::is_same< typename
E::orientation_category,
column_major_tag >
, row_major_tag, typename
E::orientation_category >
::type >::type 
orientation_category
typedef boost::mpl::if_
< boost::is_same< F,
scalar_identity< value_type >
>, typename E::reference,
value_type >::type 
reference
typedef E::size_type size_type
typedef E::storage_category storage_category
typedef matrix_tag type_category
typedef F::result_type value_type

Public Member Functions

BOOST_UBLAS_INLINE matrix_unary2 (expression_type &e)
BOOST_UBLAS_INLINE const_iterator1 begin1 () const
BOOST_UBLAS_INLINE const_iterator2 begin2 () const
BOOST_UBLAS_INLINE const_iterator1 end1 () const
BOOST_UBLAS_INLINE const_iterator2 end2 () const
BOOST_UBLAS_INLINE const
expression_closure_type
expression () const
BOOST_UBLAS_INLINE const_iterator1 find1 (int rank, size_type i, size_type j) const
BOOST_UBLAS_INLINE const_iterator2 find2 (int rank, size_type i, size_type j) const
BOOST_UBLAS_INLINE const_reference operator() (size_type i, size_type j) const
BOOST_UBLAS_INLINE
expression_type
operator() ()
BOOST_UBLAS_INLINE const
expression_type
operator() () const
BOOST_UBLAS_INLINE reference operator() (size_type i, size_type j)
BOOST_UBLAS_INLINE
const_reverse_iterator1 
rbegin1 () const
BOOST_UBLAS_INLINE
const_reverse_iterator2 
rbegin2 () const
BOOST_UBLAS_INLINE
const_reverse_iterator1 
rend1 () const
BOOST_UBLAS_INLINE
const_reverse_iterator2 
rend2 () const
BOOST_UBLAS_INLINE bool same_closure (const matrix_unary2 &mu2) const
BOOST_UBLAS_INLINE size_type size1 () const
BOOST_UBLAS_INLINE size_type size2 () const

Static Public Attributes

static const unsigned complexity

Private Types

typedef const value_typeconst_pointer
typedef E::const_iterator2 const_subiterator1_type
typedef E::const_iterator1 const_subiterator2_type
typedef boost::mpl::if_
< boost::is_same< F,
scalar_identity< typename
E::value_type > >, E, const E >
::type 
expression_type
typedef F functor_type
typedef matrix_unary2< E, F > self_type

Private Attributes

expression_closure_type e_

Detailed Description

template<class E, class F>
class boost::numeric::ublas::matrix_unary2< E, F >

Definition at line 1227 of file matrix_expression.hpp.


Member Typedef Documentation

template<class E , class F >
typedef boost::mpl::if_<boost::is_same<F, scalar_identity<typename E::value_type> >, E, const E>::type boost::numeric::ublas::matrix_unary2< E, F >::expression_type [private]
template<class E , class F >
typedef F boost::numeric::ublas::matrix_unary2< E, F >::functor_type [private]

Definition at line 1233 of file matrix_expression.hpp.

template<class E , class F >
typedef boost::mpl::if_<boost::is_const<expression_type>, typename E::const_closure_type, typename E::closure_type>::type boost::numeric::ublas::matrix_unary2< E, F >::expression_closure_type

Definition at line 1237 of file matrix_expression.hpp.

template<class E , class F >
typedef matrix_unary2<E, F> boost::numeric::ublas::matrix_unary2< E, F >::self_type [private]
template<class E , class F >
typedef E::size_type boost::numeric::ublas::matrix_unary2< E, F >::size_type

Definition at line 1244 of file matrix_expression.hpp.

template<class E , class F >
typedef E::difference_type boost::numeric::ublas::matrix_unary2< E, F >::difference_type

Definition at line 1245 of file matrix_expression.hpp.

template<class E , class F >
typedef F::result_type boost::numeric::ublas::matrix_unary2< E, F >::value_type

Definition at line 1246 of file matrix_expression.hpp.

template<class E , class F >
typedef value_type boost::numeric::ublas::matrix_unary2< E, F >::const_reference

Definition at line 1247 of file matrix_expression.hpp.

template<class E , class F >
typedef boost::mpl::if_<boost::is_same<F, scalar_identity<value_type> >, typename E::reference, value_type>::type boost::numeric::ublas::matrix_unary2< E, F >::reference

Definition at line 1250 of file matrix_expression.hpp.

template<class E , class F >
typedef const self_type boost::numeric::ublas::matrix_unary2< E, F >::const_closure_type

Definition at line 1252 of file matrix_expression.hpp.

template<class E , class F >
typedef self_type boost::numeric::ublas::matrix_unary2< E, F >::closure_type

Definition at line 1253 of file matrix_expression.hpp.

template<class E , class F >
typedef boost::mpl::if_<boost::is_same<typename E::orientation_category, row_major_tag>, column_major_tag, typename boost::mpl::if_<boost::is_same<typename E::orientation_category, column_major_tag>, row_major_tag, typename E::orientation_category>::type>::type boost::numeric::ublas::matrix_unary2< E, F >::orientation_category

Definition at line 1260 of file matrix_expression.hpp.

template<class E , class F >
typedef E::storage_category boost::numeric::ublas::matrix_unary2< E, F >::storage_category

Definition at line 1261 of file matrix_expression.hpp.

template<class E , class F >
typedef E::const_iterator1 boost::numeric::ublas::matrix_unary2< E, F >::const_subiterator2_type [private]

Definition at line 1307 of file matrix_expression.hpp.

template<class E , class F >
typedef E::const_iterator2 boost::numeric::ublas::matrix_unary2< E, F >::const_subiterator1_type [private]

Definition at line 1308 of file matrix_expression.hpp.

template<class E , class F >
typedef const value_type* boost::numeric::ublas::matrix_unary2< E, F >::const_pointer [private]

Definition at line 1309 of file matrix_expression.hpp.

template<class E , class F >
typedef const_iterator1 boost::numeric::ublas::matrix_unary2< E, F >::iterator1

Definition at line 1318 of file matrix_expression.hpp.

template<class E , class F >
typedef const_iterator2 boost::numeric::ublas::matrix_unary2< E, F >::iterator2

Definition at line 1320 of file matrix_expression.hpp.

Definition at line 1323 of file matrix_expression.hpp.

Definition at line 1324 of file matrix_expression.hpp.

Definition at line 314 of file expression_types.hpp.


Constructor & Destructor Documentation

template<class E , class F >
BOOST_UBLAS_INLINE boost::numeric::ublas::matrix_unary2< E, F >::matrix_unary2 ( expression_type e) [inline, explicit]

Definition at line 1267 of file matrix_expression.hpp.


Member Function Documentation

template<class E , class F >
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::matrix_unary2< E, F >::size1 ( ) const [inline]

Definition at line 1272 of file matrix_expression.hpp.

template<class E , class F >
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::matrix_unary2< E, F >::size2 ( ) const [inline]

Definition at line 1276 of file matrix_expression.hpp.

template<class E , class F >
BOOST_UBLAS_INLINE const expression_closure_type& boost::numeric::ublas::matrix_unary2< E, F >::expression ( ) const [inline]

Definition at line 1283 of file matrix_expression.hpp.

template<class E , class F >
BOOST_UBLAS_INLINE const_reference boost::numeric::ublas::matrix_unary2< E, F >::operator() ( size_type  i,
size_type  j 
) const [inline]

Definition at line 1290 of file matrix_expression.hpp.

template<class E , class F >
BOOST_UBLAS_INLINE reference boost::numeric::ublas::matrix_unary2< E, F >::operator() ( size_type  i,
size_type  j 
) [inline]

Definition at line 1294 of file matrix_expression.hpp.

template<class E , class F >
BOOST_UBLAS_INLINE bool boost::numeric::ublas::matrix_unary2< E, F >::same_closure ( const matrix_unary2< E, F > &  mu2) const [inline]

Definition at line 1301 of file matrix_expression.hpp.

template<class E , class F >
BOOST_UBLAS_INLINE const_iterator1 boost::numeric::ublas::matrix_unary2< E, F >::find1 ( int  rank,
size_type  i,
size_type  j 
) const [inline]

Definition at line 1328 of file matrix_expression.hpp.

template<class E , class F >
BOOST_UBLAS_INLINE const_iterator2 boost::numeric::ublas::matrix_unary2< E, F >::find2 ( int  rank,
size_type  i,
size_type  j 
) const [inline]

Definition at line 1337 of file matrix_expression.hpp.

template<class E , class F >
BOOST_UBLAS_INLINE const_iterator1 boost::numeric::ublas::matrix_unary2< E, F >::begin1 ( ) const [inline]

Definition at line 1476 of file matrix_expression.hpp.

template<class E , class F >
BOOST_UBLAS_INLINE const_iterator1 boost::numeric::ublas::matrix_unary2< E, F >::end1 ( ) const [inline]

Definition at line 1480 of file matrix_expression.hpp.

template<class E , class F >
BOOST_UBLAS_INLINE const_iterator2 boost::numeric::ublas::matrix_unary2< E, F >::begin2 ( ) const [inline]

Definition at line 1611 of file matrix_expression.hpp.

template<class E , class F >
BOOST_UBLAS_INLINE const_iterator2 boost::numeric::ublas::matrix_unary2< E, F >::end2 ( ) const [inline]

Definition at line 1615 of file matrix_expression.hpp.

template<class E , class F >
BOOST_UBLAS_INLINE const_reverse_iterator1 boost::numeric::ublas::matrix_unary2< E, F >::rbegin1 ( ) const [inline]

Definition at line 1622 of file matrix_expression.hpp.

template<class E , class F >
BOOST_UBLAS_INLINE const_reverse_iterator1 boost::numeric::ublas::matrix_unary2< E, F >::rend1 ( ) const [inline]

Definition at line 1626 of file matrix_expression.hpp.

template<class E , class F >
BOOST_UBLAS_INLINE const_reverse_iterator2 boost::numeric::ublas::matrix_unary2< E, F >::rbegin2 ( ) const [inline]

Definition at line 1631 of file matrix_expression.hpp.

template<class E , class F >
BOOST_UBLAS_INLINE const_reverse_iterator2 boost::numeric::ublas::matrix_unary2< E, F >::rend2 ( ) const [inline]

Definition at line 1635 of file matrix_expression.hpp.

BOOST_UBLAS_INLINE const expression_type& boost::numeric::ublas::matrix_expression< matrix_unary2< E, F > >::operator() ( ) const [inline, inherited]

Definition at line 320 of file expression_types.hpp.

BOOST_UBLAS_INLINE expression_type& boost::numeric::ublas::matrix_expression< matrix_unary2< E, F > >::operator() ( ) [inline, inherited]

Definition at line 324 of file expression_types.hpp.


Member Data Documentation

template<class E , class F >
expression_closure_type boost::numeric::ublas::matrix_unary2< E, F >::e_ [private]

Definition at line 1640 of file matrix_expression.hpp.

const unsigned boost::numeric::ublas::matrix_expression< matrix_unary2< E, F > >::complexity [static, inherited]

Definition at line 312 of file expression_types.hpp.


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