/external/eigen/unsupported/Eigen/src/Splines/ |
SplineFitting.h | 25 * The knots are computed as 31 * where \f$p\f$ is the degree and \f$m+1\f$ the number knots 36 * \param[out] knots The output knot vector. 41 void KnotAveraging(const KnotVectorType& parameters, DenseIndex degree, KnotVectorType& knots) 43 knots.resize(parameters.size()+degree+1); 46 knots(j+degree) = parameters.segment(j,degree).mean(); 48 knots.segment(0,degree+1) = KnotVectorType::Zero(degree+1); 49 knots.segment(knots.size()-degree-1,degree+1) = KnotVectorType::Ones(degree+1); 123 KnotVectorType knots; local [all...] |
Spline.h | 71 * \param knots The spline's knot vector. 75 Spline(const OtherVectorType& knots, const OtherArrayType& ctrls) : m_knots(knots), m_ctrls(ctrls) {} 83 m_knots(spline.knots()), m_ctrls(spline.ctrls()) {} 86 * \brief Returns the knots of the underlying spline. 88 const KnotVectorType& knots() const { return m_knots; } function in class:Eigen::Spline 91 * \brief Returns the knots of the underlying spline. 190 static DenseIndex Span(typename SplineTraits<Spline>::Scalar u, DenseIndex degree, const typename SplineTraits<Spline>::KnotVectorType& knots); 202 * \param knots The underlying spline's knot vector. 204 static BasisVectorType BasisFunctions(Scalar u, DenseIndex degree, const KnotVectorType& knots); [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/polynomials/ |
PolynomialSplineFunction.java | 64 /** Spline segment interval delimiters (knots). Size is n+1 for n segments. */ 65 private final double knots[]; field in class:PolynomialSplineFunction 87 * The constructor copies both arrays and assigns the copies to the knots 90 * @param knots spline segment interval delimiters 93 * @throws IllegalArgumentException if knots has length less than 2, 94 * <code>polynomials.length != knots.length - 1 </code>, or the knots array 98 public PolynomialSplineFunction(double knots[], PolynomialFunction polynomials[]) { 99 if (knots.length < 2) { 102 2, knots.length) [all...] |