Machine Learning Library
Classes | Namespaces | Functions
sparse_algorithm.h File Reference
#include <numeric>

Go to the source code of this file.

Classes

struct  euclidean_norm< Type >
 

Namespaces

 std
 

Functions

template<typename Iterator , typename Type , typename BinaryFunction1 , typename BinaryFunction2 >
Type std::inner_product (Iterator lhs, Iterator lhs_end, keyed_iterator< Type > rhs, Type init, BinaryFunction1 f1, BinaryFunction2 f2)
 
template<typename Iterator , typename Type , typename BinaryFunction1 , typename BinaryFunction2 >
Type std::inner_product (keyed_iterator< Type > lhs, keyed_iterator< Type > lhs_end, Iterator rhs, Type init, BinaryFunction1 f1, BinaryFunction2 f2)
 
template<typename Type , typename BinaryFunction1 , typename BinaryFunction2 >
Type std::inner_product (keyed_iterator< Type > lhs, keyed_iterator< Type > lhs_end, keyed_iterator< Type > rhs, Type init, BinaryFunction1 f1, BinaryFunction2 f2)
 
template<typename Iterator , typename Type , typename BinaryFunction1 , typename BinaryFunction2 >
Type inner_distance (Iterator lhs, Iterator lhs_end, keyed_iterator< Type > rhs, Type init, BinaryFunction1 f1, BinaryFunction2 f2)
 
template<typename Iterator , typename Type , typename BinaryFunction1 , typename BinaryFunction2 >
Type inner_distance (keyed_iterator< Type > lhs, keyed_iterator< Type > lhs_end, Iterator rhs, Type init, BinaryFunction1 f1, BinaryFunction2 f2)
 
template<typename Type , typename BinaryFunction1 , typename BinaryFunction2 >
Type inner_distance (keyed_iterator< Type > lhs, keyed_iterator< Type > lhs_end, keyed_iterator< Type > rhs, Type init, BinaryFunction1 f1, BinaryFunction2 f2)
 
template<typename Iterator1 , typename Iterator2 , typename Type , typename BinaryFunction1 , typename BinaryFunction2 >
Type inner_distance (Iterator1 lhs, Iterator1 lhs_end, Iterator2 rhs, Type init, BinaryFunction1 f1, BinaryFunction2 f2)
 
template<typename Iterator , typename Type , typename BinaryFunction1 , typename BinaryFunction2 >
Type coCosine_distance (Iterator lhs, Iterator lhs_end, keyed_iterator< Type > rhs, Type init, BinaryFunction1 f1, BinaryFunction2 f2)
 
template<typename Iterator , typename Type , typename BinaryFunction1 , typename BinaryFunction2 >
Type coCosine_distance (keyed_iterator< Type > lhs, keyed_iterator< Type > lhs_end, Iterator rhs, Type init, BinaryFunction1 f1, BinaryFunction2 f2)
 
template<typename Type , typename BinaryFunction1 , typename BinaryFunction2 >
Type coCosine_distance (keyed_iterator< Type > lhs, keyed_iterator< Type > lhs_end, keyed_iterator< Type > rhs, Type init, BinaryFunction1 f1, BinaryFunction2 f2)
 
template<typename Iterator1 , typename Iterator2 , typename Type , typename BinaryFunction1 , typename BinaryFunction2 >
Type coCosine_distance (Iterator1 lhs, Iterator1 lhs_end, Iterator2 rhs, Type init, BinaryFunction1 f1, BinaryFunction2 f2)
 
template<typename T1 , typename BinaryFunction >
void element_product (keyed_iterator< T1 > l, keyed_iterator< T1 > l_end, keyed_iterator< T1 > r, keyed_iterator< T1 > r_end, keyed_iterator< T1 > out, BinaryFunction f)
 
template<typename Type , typename BinaryFunction , typename Iterator >
void element_product (keyed_iterator< Type > l, keyed_iterator< Type > l_end, keyed_iterator< Type > r, keyed_iterator< Type > r_end, Iterator out, BinaryFunction f)
 
template<typename Iterator , typename Ti , typename To , typename BinaryFunction >
void element_product (Iterator l, Iterator l_end, keyed_iterator< Ti > r, keyed_iterator< Ti > r_end, keyed_iterator< To > out, BinaryFunction f)
 
template<typename Iterator , typename Type , typename BinaryFunction , typename OutputIterator >
void element_product (Iterator l, Iterator l_end, keyed_iterator< Type > r, keyed_iterator< Type > r_end, OutputIterator out, BinaryFunction f)
 
template<typename Type , typename Iterator , typename BinaryFunction >
void element_product (keyed_iterator< Type > l, keyed_iterator< Type > l_end, Iterator r, Iterator r_end, keyed_iterator< Type > out, BinaryFunction f)
 
template<typename Type , typename Iterator , typename BinaryFunction , typename OutputIterator >
void element_product (keyed_iterator< Type > l, keyed_iterator< Type > l_end, Iterator r, Iterator r_end, OutputIterator out, BinaryFunction f)
 
template<typename Iterator1 , typename Iterator2 , typename OutputIterator , typename BinaryFunction >
void element_product (Iterator1 l, Iterator1 l_end, Iterator2 r, Iterator2 r_end, OutputIterator out, BinaryFunction f)
 
template<typename T1 , typename BinaryFunction >
void element_product (keyed_iterator< T1 > l, keyed_iterator< T1 > l_end, T1 val, keyed_iterator< T1 > out, BinaryFunction f)
 
template<typename Iterator , typename Type , typename BinaryFunction >
void element_product (Iterator l, Iterator l_end, Type val, Iterator out, BinaryFunction f)
 
template<typename Iterator , typename OutputIterator , typename BinaryFunction >
void element_add (Iterator l, Iterator l_end, Iterator r, Iterator r_end, OutputIterator out, BinaryFunction f)
 
template<typename Type , typename OutputIterator , typename BinaryFunction >
void element_add (keyed_iterator< Type > l, keyed_iterator< Type > l_end, keyed_iterator< Type > r, keyed_iterator< Type > r_end, OutputIterator out, BinaryFunction f)
 
template<typename Iterator , typename Type , typename OutputIterator , typename BinaryFunction >
void element_add (Iterator l, Iterator l_end, keyed_iterator< Type > r, keyed_iterator< Type > r_end, OutputIterator out, BinaryFunction f)
 
template<typename Iterator , typename Type , typename OutputIterator , typename BinaryFunction >
void element_add (keyed_iterator< Type > l, keyed_iterator< Type > l_end, Iterator r, Iterator r_end, OutputIterator out, BinaryFunction f)
 
template<typename Type , typename BinaryFunction >
void element_adapt (keyed_iterator< Type > l, keyed_iterator< Type > l_end, keyed_iterator< Type > r, keyed_iterator< Type > r_end, keyed_iterator< Type > out, BinaryFunction f, float fEps1, float fEps2)
 
template<typename Type , typename Iterator , typename BinaryFunction , typename OutputIterator >
void element_adapt (keyed_iterator< Type > l, keyed_iterator< Type > l_end, Iterator r, Iterator r_end, OutputIterator out, BinaryFunction f, float fEps1, float fEps2)
 
template<typename Iterator , typename Type , typename BinaryFunction , typename OutputIterator >
void element_adapt (Iterator l, Iterator l_end, keyed_iterator< Type > r, keyed_iterator< Type > r_end, OutputIterator out, BinaryFunction f, float fEps1, float fEps2)
 
template<typename Iterator1 , typename Iterator2 , typename OutputIterator , typename BinaryFunction >
void element_adapt (Iterator1 l, Iterator1 l_end, Iterator2 r, Iterator2 r_end, OutputIterator out, BinaryFunction f, float fEps1, float fEps2)
 

Function Documentation

template<typename Iterator , typename Type , typename BinaryFunction1 , typename BinaryFunction2 >
Type coCosine_distance ( Iterator  lhs,
Iterator  lhs_end,
keyed_iterator< Type >  rhs,
Type  init,
BinaryFunction1  f1,
BinaryFunction2  f2 
)
template<typename Iterator , typename Type , typename BinaryFunction1 , typename BinaryFunction2 >
Type coCosine_distance ( keyed_iterator< Type >  lhs,
keyed_iterator< Type >  lhs_end,
Iterator  rhs,
Type  init,
BinaryFunction1  f1,
BinaryFunction2  f2 
)
template<typename Type , typename BinaryFunction1 , typename BinaryFunction2 >
Type coCosine_distance ( keyed_iterator< Type >  lhs,
keyed_iterator< Type >  lhs_end,
keyed_iterator< Type >  rhs,
Type  init,
BinaryFunction1  f1,
BinaryFunction2  f2 
)
template<typename Iterator1 , typename Iterator2 , typename Type , typename BinaryFunction1 , typename BinaryFunction2 >
Type coCosine_distance ( Iterator1  lhs,
Iterator1  lhs_end,
Iterator2  rhs,
Type  init,
BinaryFunction1  f1,
BinaryFunction2  f2 
)
template<typename Type , typename BinaryFunction >
void element_adapt ( keyed_iterator< Type >  l,
keyed_iterator< Type >  l_end,
keyed_iterator< Type >  r,
keyed_iterator< Type >  r_end,
keyed_iterator< Type >  out,
BinaryFunction  f,
float  fEps1,
float  fEps2 
)
template<typename Type , typename Iterator , typename BinaryFunction , typename OutputIterator >
void element_adapt ( keyed_iterator< Type >  l,
keyed_iterator< Type >  l_end,
Iterator  r,
Iterator  r_end,
OutputIterator  out,
BinaryFunction  f,
float  fEps1,
float  fEps2 
)
template<typename Iterator , typename Type , typename BinaryFunction , typename OutputIterator >
void element_adapt ( Iterator  l,
Iterator  l_end,
keyed_iterator< Type >  r,
keyed_iterator< Type >  r_end,
OutputIterator  out,
BinaryFunction  f,
float  fEps1,
float  fEps2 
)
template<typename Iterator1 , typename Iterator2 , typename OutputIterator , typename BinaryFunction >
void element_adapt ( Iterator1  l,
Iterator1  l_end,
Iterator2  r,
Iterator2  r_end,
OutputIterator  out,
BinaryFunction  f,
float  fEps1,
float  fEps2 
)
template<typename Iterator , typename OutputIterator , typename BinaryFunction >
void element_add ( Iterator  l,
Iterator  l_end,
Iterator  r,
Iterator  r_end,
OutputIterator  out,
BinaryFunction  f 
)
template<typename Type , typename OutputIterator , typename BinaryFunction >
void element_add ( keyed_iterator< Type >  l,
keyed_iterator< Type >  l_end,
keyed_iterator< Type >  r,
keyed_iterator< Type >  r_end,
OutputIterator  out,
BinaryFunction  f 
)
template<typename Iterator , typename Type , typename OutputIterator , typename BinaryFunction >
void element_add ( Iterator  l,
Iterator  l_end,
keyed_iterator< Type >  r,
keyed_iterator< Type >  r_end,
OutputIterator  out,
BinaryFunction  f 
)
template<typename Iterator , typename Type , typename OutputIterator , typename BinaryFunction >
void element_add ( keyed_iterator< Type >  l,
keyed_iterator< Type >  l_end,
Iterator  r,
Iterator  r_end,
OutputIterator  out,
BinaryFunction  f 
)
template<typename T1 , typename BinaryFunction >
void element_product ( keyed_iterator< T1 >  l,
keyed_iterator< T1 >  l_end,
keyed_iterator< T1 >  r,
keyed_iterator< T1 >  r_end,
keyed_iterator< T1 >  out,
BinaryFunction  f 
)
template<typename Type , typename BinaryFunction , typename Iterator >
void element_product ( keyed_iterator< Type >  l,
keyed_iterator< Type >  l_end,
keyed_iterator< Type >  r,
keyed_iterator< Type >  r_end,
Iterator  out,
BinaryFunction  f 
)
template<typename Iterator , typename Ti , typename To , typename BinaryFunction >
void element_product ( Iterator  l,
Iterator  l_end,
keyed_iterator< Ti >  r,
keyed_iterator< Ti >  r_end,
keyed_iterator< To >  out,
BinaryFunction  f 
)
template<typename Iterator , typename Type , typename BinaryFunction , typename OutputIterator >
void element_product ( Iterator  l,
Iterator  l_end,
keyed_iterator< Type >  r,
keyed_iterator< Type >  r_end,
OutputIterator  out,
BinaryFunction  f 
)
template<typename Type , typename Iterator , typename BinaryFunction >
void element_product ( keyed_iterator< Type >  l,
keyed_iterator< Type >  l_end,
Iterator  r,
Iterator  r_end,
keyed_iterator< Type >  out,
BinaryFunction  f 
)
template<typename Type , typename Iterator , typename BinaryFunction , typename OutputIterator >
void element_product ( keyed_iterator< Type >  l,
keyed_iterator< Type >  l_end,
Iterator  r,
Iterator  r_end,
OutputIterator  out,
BinaryFunction  f 
)
template<typename Iterator1 , typename Iterator2 , typename OutputIterator , typename BinaryFunction >
void element_product ( Iterator1  l,
Iterator1  l_end,
Iterator2  r,
Iterator2  r_end,
OutputIterator  out,
BinaryFunction  f 
)
template<typename T1 , typename BinaryFunction >
void element_product ( keyed_iterator< T1 >  l,
keyed_iterator< T1 >  l_end,
T1  val,
keyed_iterator< T1 >  out,
BinaryFunction  f 
)
template<typename Iterator , typename Type , typename BinaryFunction >
void element_product ( Iterator  l,
Iterator  l_end,
Type  val,
Iterator  out,
BinaryFunction  f 
)
template<typename Iterator , typename Type , typename BinaryFunction1 , typename BinaryFunction2 >
Type inner_distance ( Iterator  lhs,
Iterator  lhs_end,
keyed_iterator< Type >  rhs,
Type  init,
BinaryFunction1  f1,
BinaryFunction2  f2 
)
template<typename Iterator , typename Type , typename BinaryFunction1 , typename BinaryFunction2 >
Type inner_distance ( keyed_iterator< Type >  lhs,
keyed_iterator< Type >  lhs_end,
Iterator  rhs,
Type  init,
BinaryFunction1  f1,
BinaryFunction2  f2 
)
template<typename Type , typename BinaryFunction1 , typename BinaryFunction2 >
Type inner_distance ( keyed_iterator< Type >  lhs,
keyed_iterator< Type >  lhs_end,
keyed_iterator< Type >  rhs,
Type  init,
BinaryFunction1  f1,
BinaryFunction2  f2 
)
template<typename Iterator1 , typename Iterator2 , typename Type , typename BinaryFunction1 , typename BinaryFunction2 >
Type inner_distance ( Iterator1  lhs,
Iterator1  lhs_end,
Iterator2  rhs,
Type  init,
BinaryFunction1  f1,
BinaryFunction2  f2 
)

References std::inner_product().