Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.

boost::numeric::ublas::fill_policy::sparse_push_back Class Reference

The sparse push_back fill policy. More...

Inherits fill_policy_wrapper< sparse_push_back >.

List of all members.

Static Public Member Functions

template<class T , class S , class V >
static BOOST_UBLAS_INLINE void apply (T &e, const S &i, const V &v)
template<class T , class S , class V >
static BOOST_UBLAS_INLINE void apply (T &e, const S &i, const S &j, const V &v)

Detailed Description

This policy is adequate for sparse types, when fast filling is required, where indexing assign is pretty slow.

It is important to note that push_back assign cannot be used to add elements before elements already existing in a sparse container. To achieve that please use the sparse_insert fill policy.


Generated on Sun Jul 4 20:31:07 2010 for ublas by  doxygen 1.6.1