QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
class of Bernstein polynomials More...
#include <bernsteinpolynomial.hpp>
Static Public Member Functions | |
static Real | get (Natural i, Natural n, Real x) |
class of Bernstein polynomials
see definition:
Weisstein, Eric W. "Bernstein Polynomial." From MathWorld–A Wolfram Web Resource. http://mathworld.wolfram.com/BernsteinPolynomial.html
The Bernstein polynomials \( B_{i,n}(x) \) are defined as
\[ B_{i,n}(x) \equiv \left( \begin{array}{c} n \\ i \end{array} \right) x^i (1-x)^{n-i} \]
Definition at line 45 of file bernsteinpolynomial.hpp.