linalg::__linalg_cvec< _TS > Class Template Reference
[Classes and types for basic data management]

Adapter class for a const std::vector to a linear algebra vector. More...

#include <linalg.h>

List of all members.

Public Types

enum  { N = 0 }
typedef std::vector< _TS >
::value_type 
value_type
typedef std::vector< _TS >
::reference 
reference
typedef std::vector< _TS >::pointer pointer
typedef std::vector< _TS >
::const_reference 
const_reference
typedef std::vector< _TS >
::const_pointer 
const_pointer
typedef std::vector< _TS >
::size_type 
size_type
typedef std::vector< _TS >
::difference_type 
difference_type
typedef std::vector< _TS >
::allocator_type 
allocator_type
typedef std::vector< _TS >
::iterator 
iterator
typedef std::vector< _TS >
::const_iterator 
const_iterator
typedef std::vector< _TS >
::reverse_iterator 
reverse_iterator
typedef std::vector< _TS >
::const_reverse_iterator 
const_reverse_iterator
typedef mtl::dense_tag sparsity
typedef mtl::oned_tag dimension
typedef mtl::scaled1D< _Selfscaled_type
typedef mtl::light1D< _TS > subrange_type
typedef _Self IndexArray
typedef _Self IndexArrayRef

Public Member Functions

 __linalg_cvec (const std::vector< _TS > &s)
 ~__linalg_cvec ()
unsigned int size () const
iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const


Detailed Description

template<class _TS>
class linalg::__linalg_cvec< _TS >

This adapter class is used to transform a const std::vector to a vector which can be used by the linear algebra operations of the MTL.

Definition at line 847 of file linalg.h.


Member Typedef Documentation

template<class _TS>
typedef std::vector<_TS>::allocator_type linalg::__linalg_cvec< _TS >::allocator_type

These definitions are all required for the linear algebra vector type.

Definition at line 866 of file linalg.h.

template<class _TS>
typedef std::vector<_TS>::const_iterator linalg::__linalg_cvec< _TS >::const_iterator

These definitions are all required for the linear algebra vector type.

Definition at line 868 of file linalg.h.

template<class _TS>
typedef std::vector<_TS>::const_pointer linalg::__linalg_cvec< _TS >::const_pointer

These definitions are all required for the linear algebra vector type.

Definition at line 863 of file linalg.h.

template<class _TS>
typedef std::vector<_TS>::const_reference linalg::__linalg_cvec< _TS >::const_reference

These definitions are all required for the linear algebra vector type.

Definition at line 862 of file linalg.h.

template<class _TS>
typedef std::vector<_TS>::const_reverse_iterator linalg::__linalg_cvec< _TS >::const_reverse_iterator

These definitions are all required for the linear algebra vector type.

Definition at line 870 of file linalg.h.

template<class _TS>
typedef std::vector<_TS>::difference_type linalg::__linalg_cvec< _TS >::difference_type

These definitions are all required for the linear algebra vector type.

Definition at line 865 of file linalg.h.

template<class _TS>
typedef mtl::oned_tag linalg::__linalg_cvec< _TS >::dimension

These definitions are all required for the linear algebra vector type.

Definition at line 873 of file linalg.h.

template<class _TS>
typedef _Self linalg::__linalg_cvec< _TS >::IndexArray

These definitions are all required for the linear algebra vector type.

Definition at line 878 of file linalg.h.

template<class _TS>
typedef _Self linalg::__linalg_cvec< _TS >::IndexArrayRef

These definitions are all required for the linear algebra vector type.

Definition at line 879 of file linalg.h.

template<class _TS>
typedef std::vector<_TS>::iterator linalg::__linalg_cvec< _TS >::iterator

These definitions are all required for the linear algebra vector type.

Definition at line 867 of file linalg.h.

template<class _TS>
typedef std::vector<_TS>::pointer linalg::__linalg_cvec< _TS >::pointer

These definitions are all required for the linear algebra vector type.

Definition at line 861 of file linalg.h.

template<class _TS>
typedef std::vector<_TS>::reference linalg::__linalg_cvec< _TS >::reference

These definitions are all required for the linear algebra vector type.

Definition at line 860 of file linalg.h.

template<class _TS>
typedef std::vector<_TS>::reverse_iterator linalg::__linalg_cvec< _TS >::reverse_iterator

These definitions are all required for the linear algebra vector type.

Definition at line 869 of file linalg.h.

template<class _TS>
typedef mtl::scaled1D<_Self> linalg::__linalg_cvec< _TS >::scaled_type

These definitions are all required for the linear algebra vector type.

Definition at line 875 of file linalg.h.

template<class _TS>
typedef std::vector<_TS>::size_type linalg::__linalg_cvec< _TS >::size_type

These definitions are all required for the linear algebra vector type.

Definition at line 864 of file linalg.h.

template<class _TS>
typedef mtl::dense_tag linalg::__linalg_cvec< _TS >::sparsity

These definitions are all required for the linear algebra vector type.

Definition at line 872 of file linalg.h.

template<class _TS>
typedef mtl::light1D<_TS> linalg::__linalg_cvec< _TS >::subrange_type

These definitions are all required for the linear algebra vector type.

Definition at line 877 of file linalg.h.

template<class _TS>
typedef std::vector<_TS>::value_type linalg::__linalg_cvec< _TS >::value_type

These definitions are all required for the linear algebra vector type.

Definition at line 859 of file linalg.h.


Member Enumeration Documentation

template<class _TS>
anonymous enum

These definitions are all required for the linear algebra vector type.

Enumerator:
N 

Definition at line 857 of file linalg.h.


Constructor & Destructor Documentation

template<class _TS>
linalg::__linalg_cvec< _TS >::__linalg_cvec ( const std::vector< _TS > &  s  )  [inline]

This is the Standard Constructor

Definition at line 883 of file linalg.h.

template<class _TS>
linalg::__linalg_cvec< _TS >::~__linalg_cvec (  )  [inline]

This is the Standard Destructor

Definition at line 885 of file linalg.h.


Member Function Documentation

template<class _TS>
const_iterator linalg::__linalg_cvec< _TS >::begin (  )  const [inline]

The basic iterator methods are needed for a linear algebra vector and are directly translated.

Definition at line 893 of file linalg.h.

template<class _TS>
iterator linalg::__linalg_cvec< _TS >::begin (  )  [inline]

The basic iterator methods are needed for a linear algebra vector and are directly translated.

Definition at line 890 of file linalg.h.

template<class _TS>
const_iterator linalg::__linalg_cvec< _TS >::end (  )  const [inline]

The basic iterator methods are needed for a linear algebra vector and are directly translated.

Definition at line 894 of file linalg.h.

template<class _TS>
iterator linalg::__linalg_cvec< _TS >::end (  )  [inline]

The basic iterator methods are needed for a linear algebra vector and are directly translated.

Definition at line 891 of file linalg.h.

template<class _TS>
unsigned int linalg::__linalg_cvec< _TS >::size (  )  const [inline]

The size method is needed for a linear algebra vector and is directly translated.

Definition at line 899 of file linalg.h.


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

Generated on Tue Feb 9 14:50:07 2010 for COCONUT API by  doxygen 1.5.8