11#ifndef BEMBEL_SRC_SPLINE_DEBOOR_HPP_
12#define BEMBEL_SRC_SPLINE_DEBOOR_HPP_
30 assert(polynomial_degree >= 0);
49 assert(polynomial_degree <= Bembel::Constants::MaxP);
50 double ws[Bembel::Constants::MaxP];
52 for (
int k = polynomial_degree; 0 !=
k;
k--) {
53 for (
int i = 0;
i <
k;
i++) {
57 for (
int i = 0;
i <
k;
i++) {
74 assert(polynomial_degree >= 0);
94 assert(polynomial_degree <= 19 &&
95 "Polynomial degree not supported in DeBoor.");
98 for (
int k = polynomial_degree; 0 !=
k;
k--) {
99 for (
int i = 0;
i <
k;
i++) {
103 for (
int i = 0;
i <
k;
i++) {
113std::vector<Eigen::Matrix<
T, -1, -1>>
DeBoor(
122 assert(polynomial_degree >= 0);
146 assert(polynomial_degree <= Bembel::Constants::MaxP);
147 double ws[Bembel::Constants::MaxP];
149 for (
int k = polynomial_degree; 0 !=
k;
k--) {
150 for (
int i = 0;
i <
k;
i++) {
156 for (
int i = 0;
i <
k;
i++) {
Eigen::Matrix< T, -1, -1 > DeBoor(Eigen::Matrix< T, -1, -1 > const &control_points, const std::vector< double > &knot_vector, const std::vector< double > &evaluation_points) noexcept
"By the book" implementations of the Cox-DeBoor formula. Inefficient, do not use at bottlenecks.
Routines for the evalutation of pointwise errors.
constexpr int getFunctionSpaceOutputDimension()