Files Classes Functions Hierarchy
#include <bernstein.h>
Public Member Functions | |
| void | construct () |
| Realizes the function with the current values. | |
| bernsteinPolyProd (uintc n0_, uintc i0_, uintc n1_, uintc i1_) | |
| Construct the function. | |
| void | eval (double &res, doublec u, doublec v) const |
| Evaluate the function at (u,v). | |
| doublec | eval (doublec u, doublec v) const |
| Evaluate the function at (u,v). | |
Public Attributes | |
| bernsteinPoly | b0 |
| bernsteinPoly | b1 |
Defined as B(n0,i0)*B(n1,i1) where B is the Bernstein polynomial.
Definition at line 47 of file bernstein.h.
| void bernsteinPolyProd::construct | ( | ) |
Realizes the function with the current values.
Definition at line 47 of file bernstein.cpp.
References b0, b1, and bernsteinPoly::construct().
Evaluate the function at (u,v).
Definition at line 69 of file bernstein.h.
References eval().
Referenced by eval().
00070 { double res; eval(res,u,v); return res; }
1.5.8