SG++-Doxygen-Documentation
CombigridBSplineBasis.cpp File Reference
#include <sgpp/combigrid/utils/CombigridBSplineBasis.hpp>
#include <algorithm>
#include <vector>

Namespaces

 sgpp
 This header contains some utility functions.
 
 sgpp::combigrid
 

Functions

double sgpp::combigrid::expUniformNakBspline (double const &x, size_t const &degree, size_t i, std::vector< double > const &points)
 Nodal Not-a-Knot B spline basis always constant on level 0 degree 1 : hats from level 1 onwards degree 3 : polynomials on level 1, Not-a-Knot B-splines from level 2 onwards degree 5 : polynomials on level 1,2, Not-a-KNot B-Splines from level 3 onwards. More...
 
double sgpp::combigrid::LagrangePolynomial (double const &x, std::vector< double > const &xValues, size_t const &k)
 evaluates the Lagrange polynomial given by its index and the knot sequence it is defined on in x More...
 
size_t sgpp::combigrid::log2 (size_t n)
 log 2 for size_t types More...
 
double sgpp::combigrid::nonUniformBSpline (double const &x, size_t const &deg, size_t const &index, std::vector< double > const &xi)
 evaluates a Bspline given by its degree, index and the knot sequence it is defined on in x More...