File LooseEndsPenalizedLeastSquares.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
LooseEndsPenalizedLeastSquares
- #include <LooseEndsPenalizedLeastSquares.h>
Generate control points for a B-spline fitted from data points at given coordinates for a known knot vector.
- See
LooseEndsPenalizedLeastSquaresGenerator, LooseEndsFixedKnotSplineGenerator
Public Functions
-
LooseEndsPenalizedLeastSquares
(const Eigen::Ref<const Eigen::MatrixXd> &dataPoints, const Eigen::VectorXd &dataCoordinates, const Eigen::VectorXd &knotVector, int splineDegree, bool uniformKnotVector = false, double lambda = 0, int kappa = 2)¶
-
Eigen::MatrixXd
calculateControlPoints
()¶
-
class
-
namespace
-
namespace