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

Go to the source code of this file.

Classes

struct  spline::Bern< Numeric >
 

Namespaces

 spline
 

Functions

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