QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
BernsteinPolynomial Class Reference

class of Bernstein polynomials More...

#include <ql/math/bernsteinpolynomial.hpp>

+ Collaboration diagram for BernsteinPolynomial:

Static Public Member Functions

static Real get (Natural i, Natural n, Real x)
 

Detailed Description

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.

Member Function Documentation

◆ get()

Real get ( Natural  i,
Natural  n,
Real  x 
)
static

Definition at line 26 of file bernsteinpolynomial.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: