aimstil
5.0.5
|
#include <functional>
#include <limits>
#include <map>
#include "boost/type_traits.hpp"
#include "til/sparse_vector.h"
#include "til/templateTools.h"
#include "globalTraits.h"
Go to the source code of this file.
Classes | |
class | til::SparseVector< T > |
A mathematical vector, using sparse storage policy. More... | |
class | til::policy::StoreFunctorStoragePolicy_label |
Label class for StoreFunctor storage policy classes. More... | |
class | til::policy::Accumulate< T, TAccumulation > |
Default storage policy for StoreFunctor. More... | |
class | til::policy::AppendLast< T > |
StoreFunctor storage policy for SparseVectors. More... | |
class | til::IndexWrap< TFunctor > |
class | til::WrapFunctorForPairs< TFunctor, TOutput > |
Wrap functors so that it can accept pairs as input – it then apply the functor on the second argument. More... | |
class | til::LoopFunctor_label |
Label for loop functors. More... | |
class | til::LoopWraper< TFunctor, TOutput > |
class | til::StoreFunctor< TFunctor, TStorage, TStoragePolicy > |
A functor wrapper to transform a functor with output in an inplace functor. More... | |
Namespaces | |
til | |
Belongs to package Box Do not include directly, include til/Box.h instead. | |
til::policy | |
Functions | |
template<typename TFunctor > | |
boost::enable_if< boost::is_stateless< TFunctor >, LoopWraper< TFunctor > >::type | til::loopWraper (TFunctor f) |
template<typename TFunctor > | |
boost::disable_if< boost::is_stateless< TFunctor >, LoopWraper< TFunctor & > >::type | til::loopWraper (TFunctor &f) |
template<typename T > | |
SparseVector< T > | til::operator* (const SparseVector< T > &sv1, const SparseVector< T > &sv2) |
Pointwise multiplication. More... | |
template<typename T > | |
SparseVector< T > | til::operator+ (const SparseVector< T > &sv1, const SparseVector< T > &sv2) |
Pointwise addition. More... | |
template<typename T > | |
SparseVector< T > | til::operator- (const SparseVector< T > &sv1, const SparseVector< T > &sv2) |
Pointwise subtraction. More... | |
template<typename T > | |
SparseVector< T > | til::operator/ (const SparseVector< T > &sv1, const SparseVector< T > &sv2) |
Pointwise division. More... | |
template<typename TPrecision , typename T > | |
TPrecision | til::dot (const SparseVector< T > &sv1, const SparseVector< T > &sv2) |
Dot product between two sparse vectors. More... | |
template<typename T > | |
std::ostream & | til::operator<< (std::ostream &os, const SparseVector< T > v) |