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

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

+ Inheritance diagram for shark::blas::matrix_column< 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 M::const_column_iterator const_iterator
 
typedef column_iterator< M >::type iterator
 

Public Member Functions

 matrix_column (matrix_closure_type const &expression, index_type j)
 
template<class E >
 matrix_column (matrix_column< E > const &other)
 
matrix_closure_type const & expression () const
 
matrix_closure_type & expression ()
 
index_type index () 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...
 
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
 
void set_element (size_type i, value_type t)
 
template<class E >
matrix_columnoperator= (vector_expression< E > const &e)
 
matrix_columnoperator= (matrix_column const &e)
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
iterator set_element (iterator pos, index_type index, value_type value)
 
iterator clear_range (iterator start, iterator end)
 
iterator clear_element (iterator pos)
 
void clear ()
 
- Public Member Functions inherited from shark::blas::vector_expression< matrix_column< M > >
const expression_type & operator() () const
 
expression_type & operator() ()
 

Detailed Description

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

Definition at line 59 of file fwd.hpp.

Member Typedef Documentation

§ const_index_pointer

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

Definition at line 713 of file matrix_proxy.hpp.

§ const_iterator

template<class M>
typedef M::const_column_iterator shark::blas::matrix_column< M >::const_iterator

Definition at line 810 of file matrix_proxy.hpp.

§ const_pointer

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

Definition at line 709 of file matrix_proxy.hpp.

§ const_reference

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

Definition at line 707 of file matrix_proxy.hpp.

§ evaluation_category

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

Definition at line 720 of file matrix_proxy.hpp.

§ index_pointer

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

Definition at line 714 of file matrix_proxy.hpp.

§ iterator

template<class M>
typedef column_iterator<M>::type shark::blas::matrix_column< M >::iterator

Definition at line 811 of file matrix_proxy.hpp.

§ pointer

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

Definition at line 710 of file matrix_proxy.hpp.

§ reference

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

Definition at line 708 of file matrix_proxy.hpp.

§ storage_category

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

Definition at line 719 of file matrix_proxy.hpp.

Constructor & Destructor Documentation

§ matrix_column() [1/2]

template<class M>
shark::blas::matrix_column< M >::matrix_column ( matrix_closure_type const &  expression,
index_type  j 
)
inline

Definition at line 723 of file matrix_proxy.hpp.

References SIZE_CHECK.

§ matrix_column() [2/2]

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

Definition at line 729 of file matrix_proxy.hpp.

Member Function Documentation

§ begin() [1/2]

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

§ begin() [2/2]

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

§ clear()

§ clear_element()

template<class M>
iterator shark::blas::matrix_column< M >::clear_element ( iterator  pos)
inline

§ clear_range()

template<class M>
iterator shark::blas::matrix_column< M >::clear_range ( iterator  start,
iterator  end 
)
inline

§ end() [1/2]

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

§ end() [2/2]

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

§ expression() [1/2]

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

Definition at line 732 of file matrix_proxy.hpp.

§ expression() [2/2]

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

Definition at line 735 of file matrix_proxy.hpp.

§ index()

template<class M>
index_type shark::blas::matrix_column< M >::index ( ) const
inline

Definition at line 739 of file matrix_proxy.hpp.

§ operator()()

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

Definition at line 788 of file matrix_proxy.hpp.

§ operator=() [1/2]

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

Definition at line 802 of file matrix_proxy.hpp.

References shark::blas::assign().

§ operator=() [2/2]

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

Definition at line 805 of file matrix_proxy.hpp.

References shark::blas::assign().

§ operator[]()

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

Definition at line 791 of file matrix_proxy.hpp.

§ set_element() [1/2]

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

§ set_element() [2/2]

template<class M>
iterator shark::blas::matrix_column< M >::set_element ( iterator  pos,
index_type  index,
value_type  value 
)
inline

§ size()

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

Returns the size of the vector.

Definition at line 744 of file matrix_proxy.hpp.

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

§ storage()

template<class M>
pointer shark::blas::matrix_column< 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 761 of file matrix_proxy.hpp.

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

§ stride()

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

Returns the stride in memory between two elements.

Definition at line 753 of file matrix_proxy.hpp.

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


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