BatchInterface.h File Reference
#include <shark/LinAlg/Base.h>
#include <shark/Core/utility/Iterators.h>
#include <boost/utility/enable_if.hpp>
#include <boost/mpl/if.hpp>
#include <type_traits>

Go to the source code of this file.

Classes

struct  shark::Batch< T >
 class which helps using different batch types More...
 
struct  shark::Batch< blas::vector< T > >
 specialization for vectors which should be matrices in batch mode! More...
 
struct  shark::Batch< shark::blas::compressed_vector< T > >
 specialization for ublas compressed vectors which are compressed matrices in batch mode! More...
 
struct  shark::Batch< detail::MatrixRowReference< M > >
 
struct  shark::BatchTraits< BatchType >
 
struct  shark::BatchTraits< blas::matrix< T > >
 
struct  shark::BatchTraits< blas::compressed_matrix< T > >
 
struct  shark::BatchTraits< blas::dense_matrix_adaptor< T, blas::row_major > >
 

Namespaces

 shark
 AbstractMultiObjectiveOptimizer.
 

Functions

template<class T , class Range >
Batch< T >::type shark::createBatch (Range const &range)
 creates a batch from a range of inputs More...
 
template<class Range >
Batch< typename Range::value_type >::type shark::createBatch (Range const &range)
 creates a batch from a range of inputs More...
 
template<class T , class Iterator >
Batch< T >::type shark::createBatch (Iterator const &begin, Iterator const &end)
 
template<class BatchT >
auto shark::getBatchElement (BatchT &batch, std::size_t i) -> decltype(BatchTraits< BatchT >::type::get(std::declval< BatchT &>(), i))
 
template<class BatchT >
auto shark::getBatchElement (BatchT const &batch, std::size_t i) -> decltype(BatchTraits< BatchT >::type::get(std::declval< BatchT const &>(), i))
 
template<class BatchT >
std::size_t shark::batchSize (BatchT const &batch)
 
template<class BatchT >
auto shark::batchBegin (BatchT &batch) -> decltype(BatchTraits< BatchT >::type::begin(batch))
 
template<class BatchT >
auto shark::batchBegin (BatchT const &batch) -> decltype(BatchTraits< BatchT >::type::begin(batch))
 
template<class BatchT >
auto shark::batchEnd (BatchT &batch) -> decltype(BatchTraits< BatchT >::type::end(batch))
 
template<class BatchT >
auto shark::batchEnd (BatchT const &batch) -> decltype(BatchTraits< BatchT >::type::end(batch))