DenseLinAlgPack: Concreate C++ Classes for Dense Blas-Compatible Linear Algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
DenseLinAlgPack::VectorSliceTmpl< T > Class Template Reference

More...

#include <DenseLinAlgPack_DVectorClassTmpl.hpp>

Public Member Functions

void bind (VectorSliceTmpl< value_type > vs)
 Bind to the view of another VectorSliceTmpl. More...
 
 VectorSliceTmpl ()
 
 VectorSliceTmpl (value_type *ptr, size_type size, difference_type stride=1)
 
 VectorSliceTmpl (value_type *ptr, size_type size, const Range1D &rng)
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
reverse_iterator rend ()
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator rend () const
 
reference operator() (size_type i)
 1-based element access (lvalue) More...
 
const_reference operator() (size_type i) const
 1-based element access (rvalue) More...
 
reference operator[] (size_type i)
 1-based element access (lvalue) More...
 
const_reference operator[] (size_type i) const
 0-based element access (rvalue) More...
 
VectorSliceTmpl< value_type > * operator& ()
 Allow the address to be taken of an rvalue of this object. More...
 
const VectorSliceTmpl
< value_type > * 
operator& () const
 
const VectorSliceTmpl
< value_type > & 
operator() () const
 Same as above. More...
 
const VectorSliceTmpl< value_type > operator() (size_type lbound, size_type ubound) const
 Same as above. More...
 
const VectorSliceTmpl< value_type > rev () const
 Same as above. More...
 
VectorSliceTmpl< value_type > & operator= (value_type alpha)
 
VectorSliceTmpl< value_type > & operator= (const VectorSliceTmpl< value_type > &rhs)
 
size_type dim () const
 Returns the number of elements of the VectorSliceTmpl. More...
 
value_type * raw_ptr ()
 Return a pointer to the address of the first memory location of underlying array. More...
 
const value_type * raw_ptr () const
 
value_type * start_ptr ()
 Return a pointer to the conceptual first element in the underlying array. More...
 
const value_type * start_ptr () const
 
difference_type stride () const
 Return the distance (+,-) (in units of elements) between adjacent elements in the underlying array. More...
 

Detailed Description

template<class T>
class DenseLinAlgPack::VectorSliceTmpl< T >

Definition at line 88 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

Constructor & Destructor Documentation

template<class T >
DenseLinAlgPack::VectorSliceTmpl< T >::VectorSliceTmpl ( )
inline

Definition at line 845 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
DenseLinAlgPack::VectorSliceTmpl< T >::VectorSliceTmpl ( value_type *  ptr,
size_type  size,
difference_type  stride = 1 
)
inline

Definition at line 853 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
DenseLinAlgPack::VectorSliceTmpl< T >::VectorSliceTmpl ( value_type *  ptr,
size_type  size,
const Range1D rng 
)
inline

Definition at line 861 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

Member Function Documentation

template<class T >
void DenseLinAlgPack::VectorSliceTmpl< T >::bind ( VectorSliceTmpl< value_type >  vs)
inline

Bind to the view of another VectorSliceTmpl.

Definition at line 879 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::iterator DenseLinAlgPack::VectorSliceTmpl< T >::end ( )
inline

Definition at line 894 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::const_iterator DenseLinAlgPack::VectorSliceTmpl< T >::begin ( ) const
inline

Definition at line 899 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::const_iterator DenseLinAlgPack::VectorSliceTmpl< T >::end ( ) const
inline

Definition at line 904 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::reverse_iterator DenseLinAlgPack::VectorSliceTmpl< T >::rbegin ( )
inline

Definition at line 909 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::reverse_iterator DenseLinAlgPack::VectorSliceTmpl< T >::rend ( )
inline

Definition at line 914 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::const_reverse_iterator DenseLinAlgPack::VectorSliceTmpl< T >::rbegin ( ) const
inline

Definition at line 919 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::const_reverse_iterator DenseLinAlgPack::VectorSliceTmpl< T >::rend ( ) const
inline

Definition at line 924 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::reference DenseLinAlgPack::VectorSliceTmpl< T >::operator() ( size_type  i)
inline

1-based element access (lvalue)

Definition at line 930 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::const_reference DenseLinAlgPack::VectorSliceTmpl< T >::operator() ( size_type  i) const
inline

1-based element access (rvalue)

Definition at line 938 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::reference DenseLinAlgPack::VectorSliceTmpl< T >::operator[] ( size_type  i)
inline

1-based element access (lvalue)

Definition at line 946 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::const_reference DenseLinAlgPack::VectorSliceTmpl< T >::operator[] ( size_type  i) const
inline

0-based element access (rvalue)

Definition at line 954 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T>
VectorSliceTmpl<value_type>* DenseLinAlgPack::VectorSliceTmpl< T >::operator& ( )
inline

Allow the address to be taken of an rvalue of this object.

Definition at line 306 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T>
const VectorSliceTmpl<value_type>* DenseLinAlgPack::VectorSliceTmpl< T >::operator& ( ) const
inline

Definition at line 310 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
const VectorSliceTmpl< T > & DenseLinAlgPack::VectorSliceTmpl< T >::operator() ( ) const
inline

Same as above.

Definition at line 968 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
const VectorSliceTmpl< T > DenseLinAlgPack::VectorSliceTmpl< T >::operator() ( size_type  lbound,
size_type  ubound 
) const
inline

Same as above.

Definition at line 988 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
const VectorSliceTmpl< T > DenseLinAlgPack::VectorSliceTmpl< T >::rev ( ) const
inline

Same as above.

Definition at line 998 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T > & DenseLinAlgPack::VectorSliceTmpl< T >::operator= ( value_type  alpha)
inline

Definition at line 1004 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T > & DenseLinAlgPack::VectorSliceTmpl< T >::operator= ( const VectorSliceTmpl< value_type > &  rhs)
inline

Definition at line 1012 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::size_type DenseLinAlgPack::VectorSliceTmpl< T >::dim ( ) const
inline

Returns the number of elements of the VectorSliceTmpl.

Definition at line 1023 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::value_type * DenseLinAlgPack::VectorSliceTmpl< T >::raw_ptr ( )
inline

Return a pointer to the address of the first memory location of underlying array.

Definition at line 1030 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
const VectorSliceTmpl< T >::value_type * DenseLinAlgPack::VectorSliceTmpl< T >::raw_ptr ( ) const
inline

Definition at line 1035 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::value_type * DenseLinAlgPack::VectorSliceTmpl< T >::start_ptr ( )
inline

Return a pointer to the conceptual first element in the underlying array.

Definition at line 1040 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
const VectorSliceTmpl< T >::value_type * DenseLinAlgPack::VectorSliceTmpl< T >::start_ptr ( ) const
inline

Definition at line 1045 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

template<class T >
VectorSliceTmpl< T >::difference_type DenseLinAlgPack::VectorSliceTmpl< T >::stride ( ) const
inline

Return the distance (+,-) (in units of elements) between adjacent elements in the underlying array.

Definition at line 1050 of file DenseLinAlgPack_DVectorClassTmpl.hpp.


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