shark::blas::matrix_vector_range< M > Class Template Reference

#include <shark/LinAlg/BLAS/fwd.hpp>

+ Inheritance diagram for shark::blas::matrix_vector_range< M >:

Public Types

typedef M::const_reference const_reference
 
typedef reference< M >::type reference
 
typedef M::const_pointer const_pointer
 
typedef pointer< M >::type pointer
 
typedef M::const_index_pointer const_index_pointer
 
typedef index_pointer< M >::type index_pointer
 
typedef M::storage_category storage_category
 
typedef elementwise_tag evaluation_category
 
typedef indexed_iterator< closure_typeiterator
 
typedef indexed_iterator< const_closure_typeconst_iterator
 

Public Member Functions

 matrix_vector_range (matrix_type &expression, range const &r1, range const &r2)
 
template<class E >
 matrix_vector_range (matrix_vector_range< E > const &other)
 
size_type start1 () const
 
size_type start2 () const
 
const matrix_closure_type & expression () const
 
matrix_closure_type & expression ()
 
range const & range1 () const
 
range const & range2 () const
 
size_type size () const
 Returns the size of the vector. More...
 
difference_type stride () const
 Returns the stride in memory between two elements. More...
 
void set_element (size_type i, value_type t)
 
pointer storage () const
 Returns the pointer to the beginning of the vector storage. More...
 
reference operator() (index_type i) const
 
reference operator[] (index_type i) const
 
template<class E >
matrix_vector_rangeoperator= (vector_expression< E > const &e)
 
const_iterator begin () const
 
const_iterator end () const
 
iterator begin ()
 
iterator end ()
 
void reserve ()
 
void reserve_row (size_type, size_type)
 
void reserve_column (size_type, size_type)
 
- Public Member Functions inherited from shark::blas::vector_expression< matrix_vector_range< M > >
const expression_type & operator() () const
 
expression_type & operator() ()
 

Detailed Description

template<class M>
class shark::blas::matrix_vector_range< M >

Definition at line 61 of file fwd.hpp.

Member Typedef Documentation

§ const_index_pointer

template<class M>
typedef M::const_index_pointer shark::blas::matrix_vector_range< M >::const_index_pointer

Definition at line 930 of file matrix_proxy.hpp.

§ const_iterator

template<class M>
typedef indexed_iterator<const_closure_type> shark::blas::matrix_vector_range< M >::const_iterator

Definition at line 1022 of file matrix_proxy.hpp.

§ const_pointer

template<class M>
typedef M::const_pointer shark::blas::matrix_vector_range< M >::const_pointer

Definition at line 926 of file matrix_proxy.hpp.

§ const_reference

template<class M>
typedef M::const_reference shark::blas::matrix_vector_range< M >::const_reference

Definition at line 924 of file matrix_proxy.hpp.

§ evaluation_category

template<class M>
typedef elementwise_tag shark::blas::matrix_vector_range< M >::evaluation_category

Definition at line 937 of file matrix_proxy.hpp.

§ index_pointer

template<class M>
typedef index_pointer<M>::type shark::blas::matrix_vector_range< M >::index_pointer

Definition at line 931 of file matrix_proxy.hpp.

§ iterator

template<class M>
typedef indexed_iterator<closure_type> shark::blas::matrix_vector_range< M >::iterator

Definition at line 1021 of file matrix_proxy.hpp.

§ pointer

template<class M>
typedef pointer<M>::type shark::blas::matrix_vector_range< M >::pointer

Definition at line 927 of file matrix_proxy.hpp.

§ reference

template<class M>
typedef reference<M>::type shark::blas::matrix_vector_range< M >::reference

Definition at line 925 of file matrix_proxy.hpp.

§ storage_category

template<class M>
typedef M::storage_category shark::blas::matrix_vector_range< M >::storage_category

Definition at line 936 of file matrix_proxy.hpp.

Constructor & Destructor Documentation

§ matrix_vector_range() [1/2]

template<class M>
shark::blas::matrix_vector_range< M >::matrix_vector_range ( matrix_type &  expression,
range const &  r1,
range const &  r2 
)
inline

Definition at line 940 of file matrix_proxy.hpp.

References SIZE_CHECK.

§ matrix_vector_range() [2/2]

template<class M>
template<class E >
shark::blas::matrix_vector_range< M >::matrix_vector_range ( matrix_vector_range< E > const &  other)
inline

Definition at line 950 of file matrix_proxy.hpp.

Member Function Documentation

§ begin() [1/2]

template<class M>
const_iterator shark::blas::matrix_vector_range< M >::begin ( ) const
inline

Definition at line 1025 of file matrix_proxy.hpp.

§ begin() [2/2]

template<class M>
iterator shark::blas::matrix_vector_range< M >::begin ( )
inline

Definition at line 1032 of file matrix_proxy.hpp.

§ end() [1/2]

template<class M>
const_iterator shark::blas::matrix_vector_range< M >::end ( ) const
inline

Definition at line 1028 of file matrix_proxy.hpp.

References shark::size().

§ end() [2/2]

template<class M>
iterator shark::blas::matrix_vector_range< M >::end ( )
inline

Definition at line 1035 of file matrix_proxy.hpp.

References shark::size().

§ expression() [1/2]

template<class M>
const matrix_closure_type& shark::blas::matrix_vector_range< M >::expression ( ) const
inline

Definition at line 961 of file matrix_proxy.hpp.

§ expression() [2/2]

template<class M>
matrix_closure_type& shark::blas::matrix_vector_range< M >::expression ( )
inline

Definition at line 964 of file matrix_proxy.hpp.

§ operator()()

template<class M>
reference shark::blas::matrix_vector_range< M >::operator() ( index_type  i) const
inline

Definition at line 1007 of file matrix_proxy.hpp.

§ operator=()

template<class M>
template<class E >
matrix_vector_range& shark::blas::matrix_vector_range< M >::operator= ( vector_expression< E > const &  e)
inline

Definition at line 1017 of file matrix_proxy.hpp.

References shark::blas::assign().

§ operator[]()

template<class M>
reference shark::blas::matrix_vector_range< M >::operator[] ( index_type  i) const
inline

Definition at line 1010 of file matrix_proxy.hpp.

§ range1()

template<class M>
range const& shark::blas::matrix_vector_range< M >::range1 ( ) const
inline

Definition at line 968 of file matrix_proxy.hpp.

§ range2()

template<class M>
range const& shark::blas::matrix_vector_range< M >::range2 ( ) const
inline

Definition at line 971 of file matrix_proxy.hpp.

§ reserve()

template<class M>
void shark::blas::matrix_vector_range< M >::reserve ( )
inline

Definition at line 1039 of file matrix_proxy.hpp.

§ reserve_column()

template<class M>
void shark::blas::matrix_vector_range< M >::reserve_column ( size_type  ,
size_type   
)
inline

Definition at line 1041 of file matrix_proxy.hpp.

§ reserve_row()

template<class M>
void shark::blas::matrix_vector_range< M >::reserve_row ( size_type  ,
size_type   
)
inline

Definition at line 1040 of file matrix_proxy.hpp.

§ set_element()

template<class M>
void shark::blas::matrix_vector_range< M >::set_element ( size_type  i,
value_type  t 
)
inline

§ size()

template<class M>
size_type shark::blas::matrix_vector_range< M >::size ( ) const
inline

Returns the size of the vector.

Definition at line 980 of file matrix_proxy.hpp.

§ start1()

template<class M>
size_type shark::blas::matrix_vector_range< M >::start1 ( ) const
inline

Definition at line 954 of file matrix_proxy.hpp.

§ start2()

template<class M>
size_type shark::blas::matrix_vector_range< M >::start2 ( ) const
inline

Definition at line 957 of file matrix_proxy.hpp.

§ storage()

template<class M>
pointer shark::blas::matrix_vector_range< M >::storage ( ) const
inline

Returns the pointer to the beginning of the vector storage.

Grants low-level access to the vector internals. to access element i use storage()[i*stride()].

Definition at line 998 of file matrix_proxy.hpp.

References shark::blas::matrix_reference< M >::expression().

§ stride()

template<class M>
difference_type shark::blas::matrix_vector_range< M >::stride ( ) const
inline

Returns the stride in memory between two elements.

Definition at line 985 of file matrix_proxy.hpp.

References shark::blas::matrix_reference< M >::expression().


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