ug4
|
#include <sparse_vector.h>
Classes | |
class | const_iterator |
class | iterator |
Public Types | |
typedef T | value_type |
Public Member Functions | |
const_iterator | begin () const |
const_iterator | end () const |
bool | has_connection (size_t c) const |
size_t | num_connections () const |
T & | operator() (size_t c) |
const T & | operator() (size_t c) const |
void | print () const |
size_t | size () |
SparseVector (size_t s) | |
Private Types | |
typedef std::map< size_t, T > | container |
Private Attributes | |
container | data |
size_t | m_size |
|
private |
typedef T ug::SparseVector< T >::value_type |
|
inline |
References s.
|
inline |
References ug::SparseVector< T >::data.
Referenced by ug::SparseVector< T >::print().
|
inline |
References ug::SparseVector< T >::data.
Referenced by ug::SparseVector< T >::print().
|
inline |
References ug::SparseVector< T >::data.
|
inline |
References ug::SparseVector< T >::data.
|
inline |
References ug::SparseVector< T >::data, and ug::SparseVector< T >::m_size.
|
inline |
References ug::SparseVector< T >::data, and ug::SparseVector< T >::m_size.
|
inline |
References ug::SparseVector< T >::begin(), ug::SparseVector< T >::end(), and UG_LOG.
|
inline |
References ug::SparseVector< T >::m_size.
|
private |
|
private |
Referenced by ug::SparseVector< T >::operator()(), and ug::SparseVector< T >::size().