specialization for ublas compressed vectors which are compressed matrices in batch mode! More...
#include <shark/Data/BatchInterface.h>
Public Types | |
typedef detail::MatrixRowReference< type > | reference |
Type of a single element. More... | |
typedef detail::MatrixRowReference< const type > | const_reference |
Type of a single immutable element. More... | |
typedef ProxyIterator< type, value_type, reference > | iterator |
the iterator type of the object More... | |
typedef ProxyIterator< const type, value_type, const_reference > | const_iterator |
the const_iterator type of the object More... | |
Static Public Member Functions | |
template<class Element > | |
static type | createBatch (Element const &input, std::size_t size=1) |
creates a batch with input as size blueprint More... | |
template<class Iterator > | |
static type | createBatchFromRange (Iterator const &start, Iterator const &end) |
creates a batch storing the elements referenced by the provided range More... | |
static void | resize (type &batch, std::size_t batchSize, std::size_t elements) |
static std::size_t | size (type const &batch) |
static reference | get (type &batch, std::size_t i) |
static const_reference | get (type const &batch, std::size_t i) |
static iterator | begin (type &batch) |
static const_iterator | begin (type const &batch) |
static iterator | end (type &batch) |
static const_iterator | end (type const &batch) |
specialization for ublas compressed vectors which are compressed matrices in batch mode!
Definition at line 246 of file BatchInterface.h.
typedef ProxyIterator<const type, value_type, const_reference > shark::Batch< shark::blas::compressed_vector< T > >::const_iterator |
the const_iterator type of the object
Definition at line 263 of file BatchInterface.h.
typedef detail::MatrixRowReference<const type> shark::Batch< shark::blas::compressed_vector< T > >::const_reference |
Type of a single immutable element.
Definition at line 257 of file BatchInterface.h.
typedef ProxyIterator<type, value_type, reference > shark::Batch< shark::blas::compressed_vector< T > >::iterator |
the iterator type of the object
Definition at line 261 of file BatchInterface.h.
typedef detail::MatrixRowReference<type> shark::Batch< shark::blas::compressed_vector< T > >::reference |
Type of a single element.
Definition at line 255 of file BatchInterface.h.
|
inlinestatic |
Definition at line 297 of file BatchInterface.h.
|
inlinestatic |
Definition at line 300 of file BatchInterface.h.
|
inlinestatic |
creates a batch with input as size blueprint
Definition at line 267 of file BatchInterface.h.
|
inlinestatic |
creates a batch storing the elements referenced by the provided range
Definition at line 272 of file BatchInterface.h.
|
inlinestatic |
Definition at line 304 of file BatchInterface.h.
|
inlinestatic |
Definition at line 307 of file BatchInterface.h.
|
inlinestatic |
Definition at line 290 of file BatchInterface.h.
|
inlinestatic |
Definition at line 293 of file BatchInterface.h.
|
inlinestatic |
Definition at line 285 of file BatchInterface.h.
|
inlinestatic |
Definition at line 289 of file BatchInterface.h.