remora::compressed_vector< T, I >::reference Class Reference

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

Public Member Functions

 reference (self_type &m, size_type i)
 
value_type & operator= (value_type d) const
 
value_type & operator= (reference const &v)
 
value_type & operator+= (value_type d) const
 
value_type & operator-= (value_type d) const
 
value_type & operator*= (value_type d) const
 
value_type & operator/= (value_type d) const
 
bool operator== (value_type d) const
 
bool operator!= (value_type d) const
 
 operator const_reference () const
 

Detailed Description

template<class T, class I = std::size_t>
class remora::compressed_vector< T, I >::reference

Definition at line 70 of file vector_sparse.hpp.

Constructor & Destructor Documentation

◆ reference()

template<class T , class I = std::size_t>
remora::compressed_vector< T, I >::reference::reference ( self_type m,
size_type  i 
)
inline

Definition at line 93 of file vector_sparse.hpp.

Referenced by remora::compressed_vector< T, I >::operator()().

Member Function Documentation

◆ operator const_reference()

template<class T , class I = std::size_t>
remora::compressed_vector< T, I >::reference::operator const_reference ( ) const
inline

Definition at line 126 of file vector_sparse.hpp.

◆ operator!=()

template<class T , class I = std::size_t>
bool remora::compressed_vector< T, I >::reference::operator!= ( value_type  d) const
inline

Definition at line 122 of file vector_sparse.hpp.

◆ operator*=()

template<class T , class I = std::size_t>
value_type& remora::compressed_vector< T, I >::reference::operator*= ( value_type  d) const
inline

Definition at line 111 of file vector_sparse.hpp.

◆ operator+=()

template<class T , class I = std::size_t>
value_type& remora::compressed_vector< T, I >::reference::operator+= ( value_type  d) const
inline

Definition at line 105 of file vector_sparse.hpp.

◆ operator-=()

template<class T , class I = std::size_t>
value_type& remora::compressed_vector< T, I >::reference::operator-= ( value_type  d) const
inline

Definition at line 108 of file vector_sparse.hpp.

◆ operator/=()

template<class T , class I = std::size_t>
value_type& remora::compressed_vector< T, I >::reference::operator/= ( value_type  d) const
inline

Definition at line 114 of file vector_sparse.hpp.

◆ operator=() [1/2]

template<class T , class I = std::size_t>
value_type& remora::compressed_vector< T, I >::reference::operator= ( value_type  d) const
inline

Definition at line 97 of file vector_sparse.hpp.

◆ operator=() [2/2]

template<class T , class I = std::size_t>
value_type& remora::compressed_vector< T, I >::reference::operator= ( reference const &  v)
inline

Definition at line 101 of file vector_sparse.hpp.

◆ operator==()

template<class T , class I = std::size_t>
bool remora::compressed_vector< T, I >::reference::operator== ( value_type  d) const
inline

Definition at line 119 of file vector_sparse.hpp.


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