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

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

#include <vector_expression.hpp>

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

List of all members.

Classes

class  const_iterator

Public Types

typedef self_type closure_type
typedef const self_type const_closure_type
typedef value_type const_reference
typedef reverse_iterator_base
< const_iterator
const_reverse_iterator
typedef E::difference_type difference_type
typedef const_iterator iterator
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 unknown_storage_tag storage_category
typedef vector_tag type_category
typedef F::result_type value_type

Public Member Functions

BOOST_UBLAS_INLINE vector_unary (expression_type &e)
BOOST_UBLAS_INLINE const_iterator begin () const
BOOST_UBLAS_INLINE const_iterator end () const
BOOST_UBLAS_INLINE const
expression_closure_type
expression () const
BOOST_UBLAS_INLINE const_iterator find (size_type i) const
BOOST_UBLAS_INLINE
expression_type
operator() ()
BOOST_UBLAS_INLINE const_reference operator() (size_type i) const
BOOST_UBLAS_INLINE reference operator() (size_type i)
BOOST_UBLAS_INLINE const
expression_type
operator() () const
BOOST_UBLAS_INLINE reference operator[] (size_type i)
BOOST_UBLAS_INLINE const_reference operator[] (size_type i) const
BOOST_UBLAS_INLINE
const_reverse_iterator 
rbegin () const
BOOST_UBLAS_INLINE
const_reverse_iterator 
rend () const
BOOST_UBLAS_INLINE bool same_closure (const vector_unary &vu) const
BOOST_UBLAS_INLINE size_type size () const

Static Public Attributes

static const unsigned complexity

Private Types

typedef const value_typeconst_pointer
typedef E::const_iterator const_subiterator_type
typedef boost::mpl::if_
< boost::is_const
< expression_type >, typename
E::const_closure_type,
typename E::closure_type >
::type 
expression_closure_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 vector_unary< E, F > self_type

Private Attributes

expression_closure_type e_

Detailed Description

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

Definition at line 231 of file vector_expression.hpp.


Member Typedef Documentation

template<class E , class F >
typedef F boost::numeric::ublas::vector_unary< E, F >::functor_type [private]

Definition at line 234 of file vector_expression.hpp.

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::vector_unary< E, F >::expression_type [private]
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::vector_unary< E, F >::expression_closure_type [private]

Definition at line 240 of file vector_expression.hpp.

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

Definition at line 241 of file vector_expression.hpp.

template<class E , class F >
typedef E::size_type boost::numeric::ublas::vector_unary< E, F >::size_type

Definition at line 246 of file vector_expression.hpp.

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

Definition at line 247 of file vector_expression.hpp.

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

Definition at line 248 of file vector_expression.hpp.

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

Definition at line 249 of file vector_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::vector_unary< E, F >::reference

Definition at line 252 of file vector_expression.hpp.

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

Definition at line 253 of file vector_expression.hpp.

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

Definition at line 254 of file vector_expression.hpp.

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

Definition at line 255 of file vector_expression.hpp.

template<class E , class F >
typedef E::const_iterator boost::numeric::ublas::vector_unary< E, F >::const_subiterator_type [private]

Definition at line 306 of file vector_expression.hpp.

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

Definition at line 307 of file vector_expression.hpp.

template<class E , class F >
typedef const_iterator boost::numeric::ublas::vector_unary< E, F >::iterator

Definition at line 314 of file vector_expression.hpp.

Definition at line 430 of file vector_expression.hpp.

Definition at line 188 of file expression_types.hpp.


Constructor & Destructor Documentation

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

Definition at line 260 of file vector_expression.hpp.


Member Function Documentation

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

Definition at line 265 of file vector_expression.hpp.

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

Definition at line 272 of file vector_expression.hpp.

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

Definition at line 279 of file vector_expression.hpp.

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

Definition at line 283 of file vector_expression.hpp.

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

Definition at line 289 of file vector_expression.hpp.

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

Definition at line 293 of file vector_expression.hpp.

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

Definition at line 300 of file vector_expression.hpp.

template<class E , class F >
BOOST_UBLAS_INLINE const_iterator boost::numeric::ublas::vector_unary< E, F >::find ( size_type  i) const [inline]

Definition at line 320 of file vector_expression.hpp.

template<class E , class F >
BOOST_UBLAS_INLINE const_iterator boost::numeric::ublas::vector_unary< E, F >::begin ( ) const [inline]

Definition at line 421 of file vector_expression.hpp.

template<class E , class F >
BOOST_UBLAS_INLINE const_iterator boost::numeric::ublas::vector_unary< E, F >::end ( ) const [inline]

Definition at line 425 of file vector_expression.hpp.

template<class E , class F >
BOOST_UBLAS_INLINE const_reverse_iterator boost::numeric::ublas::vector_unary< E, F >::rbegin ( ) const [inline]

Definition at line 433 of file vector_expression.hpp.

template<class E , class F >
BOOST_UBLAS_INLINE const_reverse_iterator boost::numeric::ublas::vector_unary< E, F >::rend ( ) const [inline]

Definition at line 437 of file vector_expression.hpp.

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

Definition at line 194 of file expression_types.hpp.

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

Definition at line 198 of file expression_types.hpp.


Member Data Documentation

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

Definition at line 442 of file vector_expression.hpp.

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

Definition at line 186 of file expression_types.hpp.


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