DenseLinAlgPack: Concreate C++ Classes for Dense Blas-Compatible Linear Algebra Version of the Day
Public Member Functions
DenseLinAlgPack::VectorSliceTmpl< T > Class Template Reference

More...

#include <DenseLinAlgPack_DVectorClassTmpl.hpp>

List of all members.

Public Member Functions

void bind (VectorSliceTmpl< value_type > vs)
 Bind to the view of another VectorSliceTmpl.
 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)
const_reference operator() (size_type i) const
 1-based element access (rvalue)
reference operator[] (size_type i)
 1-based element access (lvalue)
const_reference operator[] (size_type i) const
 0-based element access (rvalue)
VectorSliceTmpl< value_type > * operator& ()
const VectorSliceTmpl
< value_type > * 
operator& () const
 
const VectorSliceTmpl
< value_type > & 
operator() () const
 Same as above.
const VectorSliceTmpl< value_type > operator() (size_type lbound, size_type ubound) const
 Same as above.
const VectorSliceTmpl< value_type > rev () const
 Same as above.
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.
value_type * raw_ptr ()
 Return a pointer to the address of the first memory location of underlying array.
const value_type * raw_ptr () const
 
value_type * start_ptr ()
 Return a pointer to the conceptual first element in the underlying array.
const value_type * start_ptr () const
 
difference_type stride () const
 Return the distance (+,-) (in units of elements) between adjacent elements in the underlying array.

Detailed Description

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

Definition at line 75 of file DenseLinAlgPack_DVectorClassTmpl.hpp.


Constructor & Destructor Documentation

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

Definition at line 832 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 840 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 848 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 866 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 881 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 886 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 891 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 896 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 901 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 906 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 911 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 917 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 925 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 933 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 941 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 293 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 297 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Same as above.

Definition at line 955 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 975 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Same as above.

Definition at line 985 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 991 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 999 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 1010 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 1017 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 1022 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 1027 of file DenseLinAlgPack_DVectorClassTmpl.hpp.

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

Definition at line 1032 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 1037 of file DenseLinAlgPack_DVectorClassTmpl.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends