All Classes Namespaces Files Functions Variables Typedefs
bernstein.h File Reference
#include "curve_abc.h"
#include "MathDefs.h"
#include <math.h>
#include <vector>
#include <stdexcept>
Include dependency graph for bernstein.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  curve::Bern< Numeric >
 

Namespaces

 curve
 

Functions

unsigned int curve::fact (const unsigned int n)
 Computes factorial of a number. More...
 
unsigned int curve::bin (const unsigned int n, const unsigned int k)
 Computes a binomal coefficient. More...
 
template<typename Numeric >
std::vector< Bern< Numeric > > curve::makeBernstein (const unsigned int n)
 Computes all Bernstein polynomes for a certain degree. More...