File BSplineBasis.hΒΆ
- Copyright
This code is licensed under the 3-clause BSD license.
Copyright ETH Zurich, Laboratory for Physical Chemistry, Reiher Group.
See LICENSE.txt for details.
-
namespace
Scine
This header file contains functions that allow for common notation for common things that can be done at a different degree of derivatives.
This header contains alias definitions defining which classes to use for the different degrees of derivatives.
-
namespace
Utils
-
namespace
BSplines
-
class
BSplineBasis
- #include <BSplineBasis.h>
Evaluate the B-Spline basis functions that are defined by the knot vector
Public Static Functions
-
static double
evaluate
(int i, int pk, int numberOfSplineSegments, const Eigen::VectorXd &knotVector, double u) Evaluates the basis function with the Cox-DeBoor-Mansfield Recurrence Relation
i can range from 0 to n with n being the number of polynomial segements spline
the number of control points or number of basis functions = n+1
n is the number of polynomial segments
the knot vector can be of any degree k
u ranges form 0 to 1
-
static double
-
class
-
namespace
-
namespace