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

boost::numeric::ublas::matrix_binary< E1, E2, F > Class Template Reference

#include <matrix_expression.hpp>

Inheritance diagram for boost::numeric::ublas::matrix_binary< E1, E2, F >:
Collaboration diagram for boost::numeric::ublas::matrix_binary< E1, E2, F >:

List of all members.

Classes

class  const_iterator1
class  const_iterator2

Public Types

typedef const_closure_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 promote_traits
< typename E1::difference_type,
typename E2::difference_type >
::promote_type 
difference_type
typedef E1::const_closure_type expression1_closure_type
typedef E2::const_closure_type expression2_closure_type
typedef matrix_binary< E1, E2, F > expression_type
typedef const_iterator1 iterator1
typedef const_iterator2 iterator2
typedef unknown_orientation_tag orientation_category
typedef const_reference reference
typedef promote_traits
< typename E1::size_type,
typename E2::size_type >
::promote_type 
size_type
typedef unknown_storage_tag storage_category
typedef matrix_tag type_category
typedef F::result_type value_type

Public Member Functions

BOOST_UBLAS_INLINE matrix_binary (const E1 &e1, const E2 &e2)
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
expression1_closure_type
expression1 () const
BOOST_UBLAS_INLINE const
expression2_closure_type
expression2 () 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
expression_type
operator() ()
BOOST_UBLAS_INLINE const
expression_type
operator() () const
BOOST_UBLAS_INLINE const_reference operator() (size_type i, size_type j) const
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_binary &mb) 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 E1::const_iterator1 const_iterator11_type
typedef E1::const_iterator2 const_iterator12_type
typedef E2::const_iterator1 const_iterator21_type
typedef E2::const_iterator2 const_iterator22_type
typedef const value_typeconst_pointer
typedef E1 expression1_type
typedef E2 expression2_type
typedef F functor_type
typedef matrix_binary< E1, E2, F > self_type

Private Attributes

expression1_closure_type e1_
expression2_closure_type e2_

Detailed Description

template<class E1, class E2, class F>
class boost::numeric::ublas::matrix_binary< E1, E2, F >

Definition at line 1679 of file matrix_expression.hpp.


Member Typedef Documentation

template<class E1 , class E2 , class F >
typedef E1 boost::numeric::ublas::matrix_binary< E1, E2, F >::expression1_type [private]

Definition at line 1682 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef E2 boost::numeric::ublas::matrix_binary< E1, E2, F >::expression2_type [private]

Definition at line 1683 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef F boost::numeric::ublas::matrix_binary< E1, E2, F >::functor_type [private]

Definition at line 1684 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef E1::const_closure_type boost::numeric::ublas::matrix_binary< E1, E2, F >::expression1_closure_type

Definition at line 1686 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef E2::const_closure_type boost::numeric::ublas::matrix_binary< E1, E2, F >::expression2_closure_type

Definition at line 1687 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef matrix_binary<E1, E2, F> boost::numeric::ublas::matrix_binary< E1, E2, F >::self_type [private]
template<class E1 , class E2 , class F >
typedef promote_traits<typename E1::size_type, typename E2::size_type>::promote_type boost::numeric::ublas::matrix_binary< E1, E2, F >::size_type

Definition at line 1694 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef promote_traits<typename E1::difference_type, typename E2::difference_type>::promote_type boost::numeric::ublas::matrix_binary< E1, E2, F >::difference_type

Definition at line 1695 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef F::result_type boost::numeric::ublas::matrix_binary< E1, E2, F >::value_type

Definition at line 1696 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef value_type boost::numeric::ublas::matrix_binary< E1, E2, F >::const_reference

Definition at line 1697 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef const_reference boost::numeric::ublas::matrix_binary< E1, E2, F >::reference

Definition at line 1698 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef const self_type boost::numeric::ublas::matrix_binary< E1, E2, F >::const_closure_type

Definition at line 1699 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef const_closure_type boost::numeric::ublas::matrix_binary< E1, E2, F >::closure_type

Definition at line 1700 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef unknown_orientation_tag boost::numeric::ublas::matrix_binary< E1, E2, F >::orientation_category

Definition at line 1701 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef unknown_storage_tag boost::numeric::ublas::matrix_binary< E1, E2, F >::storage_category

Definition at line 1702 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef E1::const_iterator1 boost::numeric::ublas::matrix_binary< E1, E2, F >::const_iterator11_type [private]

Definition at line 1746 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef E1::const_iterator2 boost::numeric::ublas::matrix_binary< E1, E2, F >::const_iterator12_type [private]

Definition at line 1747 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef E2::const_iterator1 boost::numeric::ublas::matrix_binary< E1, E2, F >::const_iterator21_type [private]

Definition at line 1748 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef E2::const_iterator2 boost::numeric::ublas::matrix_binary< E1, E2, F >::const_iterator22_type [private]

Definition at line 1749 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef const value_type* boost::numeric::ublas::matrix_binary< E1, E2, F >::const_pointer [private]

Definition at line 1750 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef const_iterator1 boost::numeric::ublas::matrix_binary< E1, E2, F >::iterator1

Definition at line 1763 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef const_iterator2 boost::numeric::ublas::matrix_binary< E1, E2, F >::iterator2

Definition at line 1765 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef reverse_iterator_base1<const_iterator1> boost::numeric::ublas::matrix_binary< E1, E2, F >::const_reverse_iterator1

Definition at line 1768 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
typedef reverse_iterator_base2<const_iterator2> boost::numeric::ublas::matrix_binary< E1, E2, F >::const_reverse_iterator2

Definition at line 1769 of file matrix_expression.hpp.

Definition at line 314 of file expression_types.hpp.


Constructor & Destructor Documentation

template<class E1 , class E2 , class F >
BOOST_UBLAS_INLINE boost::numeric::ublas::matrix_binary< E1, E2, F >::matrix_binary ( const E1 &  e1,
const E2 &  e2 
) [inline]

Definition at line 1706 of file matrix_expression.hpp.


Member Function Documentation

template<class E1 , class E2 , class F >
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::matrix_binary< E1, E2, F >::size1 ( ) const [inline]

Definition at line 1711 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::matrix_binary< E1, E2, F >::size2 ( ) const [inline]

Definition at line 1715 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
BOOST_UBLAS_INLINE const expression1_closure_type& boost::numeric::ublas::matrix_binary< E1, E2, F >::expression1 ( ) const [inline]

Definition at line 1722 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
BOOST_UBLAS_INLINE const expression2_closure_type& boost::numeric::ublas::matrix_binary< E1, E2, F >::expression2 ( ) const [inline]

Definition at line 1726 of file matrix_expression.hpp.

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

Definition at line 1733 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
BOOST_UBLAS_INLINE bool boost::numeric::ublas::matrix_binary< E1, E2, F >::same_closure ( const matrix_binary< E1, E2, F > &  mb) const [inline]

Definition at line 1739 of file matrix_expression.hpp.

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

Definition at line 1773 of file matrix_expression.hpp.

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

Definition at line 1789 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
BOOST_UBLAS_INLINE const_iterator1 boost::numeric::ublas::matrix_binary< E1, E2, F >::begin1 ( ) const [inline]

Definition at line 2115 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
BOOST_UBLAS_INLINE const_iterator1 boost::numeric::ublas::matrix_binary< E1, E2, F >::end1 ( ) const [inline]

Definition at line 2119 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
BOOST_UBLAS_INLINE const_iterator2 boost::numeric::ublas::matrix_binary< E1, E2, F >::begin2 ( ) const [inline]

Definition at line 2430 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
BOOST_UBLAS_INLINE const_iterator2 boost::numeric::ublas::matrix_binary< E1, E2, F >::end2 ( ) const [inline]

Definition at line 2434 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
BOOST_UBLAS_INLINE const_reverse_iterator1 boost::numeric::ublas::matrix_binary< E1, E2, F >::rbegin1 ( ) const [inline]

Definition at line 2441 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
BOOST_UBLAS_INLINE const_reverse_iterator1 boost::numeric::ublas::matrix_binary< E1, E2, F >::rend1 ( ) const [inline]

Definition at line 2445 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
BOOST_UBLAS_INLINE const_reverse_iterator2 boost::numeric::ublas::matrix_binary< E1, E2, F >::rbegin2 ( ) const [inline]

Definition at line 2450 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
BOOST_UBLAS_INLINE const_reverse_iterator2 boost::numeric::ublas::matrix_binary< E1, E2, F >::rend2 ( ) const [inline]

Definition at line 2454 of file matrix_expression.hpp.

BOOST_UBLAS_INLINE const expression_type& boost::numeric::ublas::matrix_expression< matrix_binary< E1, E2, 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_binary< E1, E2, F > >::operator() ( ) [inline, inherited]

Definition at line 324 of file expression_types.hpp.


Member Data Documentation

template<class E1 , class E2 , class F >
expression1_closure_type boost::numeric::ublas::matrix_binary< E1, E2, F >::e1_ [private]

Definition at line 2459 of file matrix_expression.hpp.

template<class E1 , class E2 , class F >
expression2_closure_type boost::numeric::ublas::matrix_binary< E1, E2, F >::e2_ [private]

Definition at line 2460 of file matrix_expression.hpp.

const unsigned boost::numeric::ublas::matrix_expression< matrix_binary< E1, E2, F > >::complexity [static, inherited]

Definition at line 312 of file expression_types.hpp.


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