CAPD DynSys Library  5.2.0
Basicalg

Classes

struct  capd::Binomial< N, K >
 
struct  capd::Binomial< 0, K >
 
struct  capd::Binomial< N, 0 >
 
struct  capd::Binomial< N, N >
 
struct  capd::Binomial< 0, 0 >
 
struct  capd::Factorial< N >
 
struct  capd::Factorial< 1 >
 
struct  capd::Factorial< 0 >
 
struct  logtwo< N >
 
struct  powerThree< N >
 

Functions

double capd::realFactorial (unsigned n)
 
double power (double value, int exponent)
 
long double power (long double value, int exponent)
 
float power (float value, int exponent)
 
double power (int value, int exponent)
 
double sqr (double x)
 
float sqr (float x)
 
long double sqr (long double x)
 
template<class Iterator >
std::iterator_traits< Iterator >::value_type average (Iterator beg, Iterator end)
 
template<typename Scalar >
std::pair< Scalar, Scalar > linearRegression (const std::vector< Scalar > &x, const std::vector< Scalar > &y)
 
template<typename Scalar >
std::pair< Scalar, Scalar > powerRegression (const std::vector< Scalar > &x, const std::vector< Scalar > &y)
 

Detailed Description

Function Documentation

◆ average()

template<class Iterator >
std::iterator_traits<Iterator>::value_type average ( Iterator  beg,
Iterator  end 
)

◆ linearRegression()

template<typename Scalar >
std::pair<Scalar,Scalar> linearRegression ( const std::vector< Scalar > &  x,
const std::vector< Scalar > &  y 
)

◆ power() [1/4]

double power ( double  value,
int  exponent 
)
inline

◆ power() [2/4]

float power ( float  value,
int  exponent 
)
inline

◆ power() [3/4]

double power ( int  value,
int  exponent 
)
inline

◆ power() [4/4]

long double power ( long double  value,
int  exponent 
)
inline

◆ powerRegression()

template<typename Scalar >
std::pair<Scalar,Scalar> powerRegression ( const std::vector< Scalar > &  x,
const std::vector< Scalar > &  y 
)

◆ realFactorial()

double capd::realFactorial ( unsigned  n)
inline

◆ sqr() [1/3]

double sqr ( double  x)
inline

◆ sqr() [2/3]

float sqr ( float  x)
inline

◆ sqr() [3/3]

long double sqr ( long double  x)
inline