numeric
Classes | Typedefs | Enumerations | Functions | Variables
numeric Namespace Reference

Classes

struct  Buckets
 
class  Circle
 
class  Combination
 Combination of a unique item map Binomialcoefficient (n k) More...
 
class  DiscreteFilter
 
struct  Histogram
 Histogram class, that splits an interval into n regular bins, and counts how often a value is added to a bin. More...
 
class  IntegerPartitioning
 Computer integer partitions. More...
 
class  LimitedCombination
 Compute combinatorics on a given set of limited but typed resources, e.g. for available resource A:2, B:1, C:1 the following combinations are possible: max size 1: A,B,C max size 2: AA, AB, AC, BC max size 3: AAB, AAC, ABC. More...
 
class  Permutation
 Create permutation on a list of given types. More...
 
class  PlaneFitting
 
class  SavitzkyGolayFilter
 
class  SeriesStats
 
struct  Square
 
struct  Square< Eigen::Matrix< _Scalar, _Rows, 1, _Options > >
 
class  Stats
 
class  Twiddle
 Twiddle algorithm – modifications applied only to simplify integration. More...
 
struct  Zero
 
struct  Zero< Eigen::Matrix< _Scalar, _Rows, _Cols, _Options > >
 

Typedefs

typedef std::vector< int > IntegerPartition
 

Enumerations

enum  Mode { EXACT = 0, MAX, MIN }
 

Functions

template<typename TIter1 , typename TIter2 , typename TResult >
bool fitPolynom (int degree, TIter1 start_iter_x, TIter1 end_iter_x, TIter2 start_iter_y, TIter2 end_iter_y, std::vector< TResult > &result, double &chisq)
 
template<typename TIter , typename TResult >
bool fitPolynom (int degree, TIter start_iter, TIter end_iter, std::vector< TResult > &result, double &chisq)
 
template<typename TIter1 , typename TIter2 >
void derivePolynom (TIter1 start_coefficient, TIter2 end_coefficient, TIter2 start_result)
 
void derivePolynom (std::vector< double > &coefficients, std::vector< double > &result)
 
void calcPolyRoots (const std::vector< double > &coefficients, std::vector< double > &roots)
 
double calcPolyVal (const std::vector< double > &coefficients, double position)
 
std::ostream & operator<< (std::ostream &os, const IntegerPartition &list)
 
std::ostream & operator<< (std::ostream &os, const std::vector< IntegerPartition > &list)
 
template<typename TIter >
void matchTemplate1D (TIter start, TIter end, TIter template_start, TIter template_end, int &pos, double &best_match, bool remove_offset=true)
 
template<typename T >
std::vector< T > joinVectors (const std::vector< T > &v1, const std::vector< T > &v2, int pos, const T &default_value)
 
template<class T >
min_el (T a, T b)
 
template<class T >
max_el (T a, T b)
 
template<class _Scalar , int _Rows, int _Options>
Eigen::Matrix< _Scalar, _Rows, 1, _Options > min_el (Eigen::Matrix< _Scalar, _Rows, 1, _Options > const &a, Eigen::Matrix< _Scalar, _Rows, 1, _Options > const &b)
 
template<class _Scalar , int _Rows, int _Options>
Eigen::Matrix< _Scalar, _Rows, 1, _Options > max_el (Eigen::Matrix< _Scalar, _Rows, 1, _Options > const &a, Eigen::Matrix< _Scalar, _Rows, 1, _Options > const &b)
 

Variables

std::map< Mode, std::string > ModeTxt
 

Typedef Documentation

◆ IntegerPartition

typedef std::vector<int> numeric::IntegerPartition

Enumeration Type Documentation

◆ Mode

Enumerator
EXACT 
MAX 
MIN 

Function Documentation

◆ calcPolyRoots()

void numeric::calcPolyRoots ( const std::vector< double > &  coefficients,
std::vector< double > &  roots 
)

◆ calcPolyVal()

double numeric::calcPolyVal ( const std::vector< double > &  coefficients,
double  position 
)

◆ derivePolynom() [1/2]

template<typename TIter1 , typename TIter2 >
void numeric::derivePolynom ( TIter1  start_coefficient,
TIter2  end_coefficient,
TIter2  start_result 
)

◆ derivePolynom() [2/2]

void numeric::derivePolynom ( std::vector< double > &  coefficients,
std::vector< double > &  result 
)

◆ fitPolynom() [1/2]

template<typename TIter1 , typename TIter2 , typename TResult >
bool numeric::fitPolynom ( int  degree,
TIter1  start_iter_x,
TIter1  end_iter_x,
TIter2  start_iter_y,
TIter2  end_iter_y,
std::vector< TResult > &  result,
double &  chisq 
)

◆ fitPolynom() [2/2]

template<typename TIter , typename TResult >
bool numeric::fitPolynom ( int  degree,
TIter  start_iter,
TIter  end_iter,
std::vector< TResult > &  result,
double &  chisq 
)

◆ joinVectors()

template<typename T >
std::vector<T> numeric::joinVectors ( const std::vector< T > &  v1,
const std::vector< T > &  v2,
int  pos,
const T &  default_value 
)

◆ matchTemplate1D()

template<typename TIter >
void numeric::matchTemplate1D ( TIter  start,
TIter  end,
TIter  template_start,
TIter  template_end,
int &  pos,
double &  best_match,
bool  remove_offset = true 
)

◆ max_el() [1/2]

template<class T >
T numeric::max_el ( a,
b 
)

◆ max_el() [2/2]

template<class _Scalar , int _Rows, int _Options>
Eigen::Matrix<_Scalar, _Rows, 1, _Options> numeric::max_el ( Eigen::Matrix< _Scalar, _Rows, 1, _Options > const &  a,
Eigen::Matrix< _Scalar, _Rows, 1, _Options > const &  b 
)

◆ min_el() [1/2]

template<class T >
T numeric::min_el ( a,
b 
)

◆ min_el() [2/2]

template<class _Scalar , int _Rows, int _Options>
Eigen::Matrix<_Scalar, _Rows, 1, _Options> numeric::min_el ( Eigen::Matrix< _Scalar, _Rows, 1, _Options > const &  a,
Eigen::Matrix< _Scalar, _Rows, 1, _Options > const &  b 
)

◆ operator<<() [1/2]

std::ostream & numeric::operator<< ( std::ostream &  os,
const IntegerPartition list 
)

◆ operator<<() [2/2]

std::ostream & numeric::operator<< ( std::ostream &  os,
const std::vector< IntegerPartition > &  list 
)

Variable Documentation

◆ ModeTxt

std::map< Mode, std::string > numeric::ModeTxt
Initial value:
= ::boost::assign::map_list_of
(EXACT, "EXACT")
(MIN, "MIN")
(MAX, "MAX")
Definition: Combinatorics.hpp:82
Definition: Combinatorics.hpp:82
Definition: Combinatorics.hpp:82