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

boost::numeric::ublas::c_array_view< T > Class Template Reference

#include <sparse_view.hpp>

Inheritance diagram for boost::numeric::ublas::c_array_view< T >:
Collaboration diagram for boost::numeric::ublas::c_array_view< T >:

List of all members.

Public Types

typedef const pointer array_type
typedef const vector_reference
< const self_type
const_closure_type
typedef const_pointer const_iterator
typedef const T * const_pointer
typedef const T & const_reference
typedef std::reverse_iterator
< const_iterator
const_reverse_iterator
typedef std::ptrdiff_t difference_type
typedef std::size_t size_type
typedef dense_tag storage_category
typedef T value_type

Public Member Functions

 c_array_view (size_type size, array_type data)
 ~c_array_view ()
BOOST_UBLAS_INLINE const_iterator begin () const
BOOST_UBLAS_INLINE const_iterator end () const
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 size_type size () const

Private Types

typedef T * pointer
typedef c_array_view< T > self_type

Private Attributes

array_type data_
size_type size_

Detailed Description

template<class T>
class boost::numeric::ublas::c_array_view< T >

Definition at line 28 of file sparse_view.hpp.


Member Typedef Documentation

template<class T >
typedef c_array_view<T> boost::numeric::ublas::c_array_view< T >::self_type [private]

Definition at line 31 of file sparse_view.hpp.

template<class T >
typedef T* boost::numeric::ublas::c_array_view< T >::pointer [private]

Definition at line 32 of file sparse_view.hpp.

template<class T >
typedef const pointer boost::numeric::ublas::c_array_view< T >::array_type

Definition at line 36 of file sparse_view.hpp.

template<class T >
typedef std::size_t boost::numeric::ublas::c_array_view< T >::size_type

Definition at line 38 of file sparse_view.hpp.

template<class T >
typedef std::ptrdiff_t boost::numeric::ublas::c_array_view< T >::difference_type

Definition at line 39 of file sparse_view.hpp.

template<class T >
typedef T boost::numeric::ublas::c_array_view< T >::value_type

Definition at line 41 of file sparse_view.hpp.

template<class T >
typedef const T& boost::numeric::ublas::c_array_view< T >::const_reference

Definition at line 42 of file sparse_view.hpp.

template<class T >
typedef const T* boost::numeric::ublas::c_array_view< T >::const_pointer

Definition at line 43 of file sparse_view.hpp.

Definition at line 45 of file sparse_view.hpp.

template<class T >
typedef std::reverse_iterator<const_iterator> boost::numeric::ublas::c_array_view< T >::const_reverse_iterator

Definition at line 46 of file sparse_view.hpp.

Definition at line 52 of file sparse_view.hpp.

Definition at line 53 of file sparse_view.hpp.


Constructor & Destructor Documentation

template<class T >
boost::numeric::ublas::c_array_view< T >::c_array_view ( size_type  size,
array_type  data 
) [inline]

Definition at line 55 of file sparse_view.hpp.

template<class T >
boost::numeric::ublas::c_array_view< T >::~c_array_view ( ) [inline]

Definition at line 59 of file sparse_view.hpp.


Member Function Documentation

template<class T >
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::c_array_view< T >::size ( ) const [inline]

Definition at line 67 of file sparse_view.hpp.

template<class T >
BOOST_UBLAS_INLINE const_reference boost::numeric::ublas::c_array_view< T >::operator[] ( size_type  i) const [inline]

Definition at line 72 of file sparse_view.hpp.

template<class T >
BOOST_UBLAS_INLINE const_iterator boost::numeric::ublas::c_array_view< T >::begin ( ) const [inline]

Definition at line 78 of file sparse_view.hpp.

template<class T >
BOOST_UBLAS_INLINE const_iterator boost::numeric::ublas::c_array_view< T >::end ( ) const [inline]

Definition at line 82 of file sparse_view.hpp.

template<class T >
BOOST_UBLAS_INLINE const_reverse_iterator boost::numeric::ublas::c_array_view< T >::rbegin ( ) const [inline]

Definition at line 87 of file sparse_view.hpp.

template<class T >
BOOST_UBLAS_INLINE const_reverse_iterator boost::numeric::ublas::c_array_view< T >::rend ( ) const [inline]

Definition at line 91 of file sparse_view.hpp.


Member Data Documentation

template<class T >
size_type boost::numeric::ublas::c_array_view< T >::size_ [private]

Definition at line 96 of file sparse_view.hpp.

template<class T >
array_type boost::numeric::ublas::c_array_view< T >::data_ [private]

Definition at line 97 of file sparse_view.hpp.


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