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

Adapter class for a 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_vec (std::vector< _TS > &s)
 ~__linalg_vec ()
unsigned int size () const
iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const


Detailed Description

template<class _TS>
class linalg::__linalg_vec< _TS >

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

Definition at line 908 of file linalg.h.


Member Typedef Documentation

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

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

Definition at line 927 of file linalg.h.

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

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

Definition at line 929 of file linalg.h.

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

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

Definition at line 924 of file linalg.h.

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

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

Definition at line 923 of file linalg.h.

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

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

Definition at line 931 of file linalg.h.

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

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

Definition at line 926 of file linalg.h.

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

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

Definition at line 934 of file linalg.h.

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

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

Definition at line 939 of file linalg.h.

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

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

Definition at line 940 of file linalg.h.

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

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

Definition at line 928 of file linalg.h.

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

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

Definition at line 922 of file linalg.h.

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

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

Definition at line 921 of file linalg.h.

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

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

Definition at line 930 of file linalg.h.

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

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

Definition at line 936 of file linalg.h.

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

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

Definition at line 925 of file linalg.h.

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

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

Definition at line 933 of file linalg.h.

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

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

Definition at line 938 of file linalg.h.

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

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

Definition at line 920 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 918 of file linalg.h.


Constructor & Destructor Documentation

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

This is the Standard Constructor

Definition at line 944 of file linalg.h.

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

This is the Standard Destructor

Definition at line 946 of file linalg.h.


Member Function Documentation

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

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

Definition at line 954 of file linalg.h.

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

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

Definition at line 951 of file linalg.h.

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

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

Definition at line 955 of file linalg.h.

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

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

Definition at line 952 of file linalg.h.

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

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

Definition at line 960 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