Lines Matching refs:DenseIndex
121 derivatives(Scalar u, DenseIndex order) const;
130 derivatives(Scalar u, DenseIndex order = DerivativeOrder) const;
165 basisFunctionDerivatives(Scalar u, DenseIndex order) const;
174 basisFunctionDerivatives(Scalar u, DenseIndex order = DerivativeOrder) const;
179 DenseIndex degree() const;
185 DenseIndex span(Scalar u) const;
190 …static DenseIndex Span(typename SplineTraits<Spline>::Scalar u, DenseIndex degree, const typename …
204 static BasisVectorType BasisFunctions(Scalar u, DenseIndex degree, const KnotVectorType& knots);
213 DenseIndex Spline<_Scalar, _Dim, _Degree>::Span( in Span()
215 DenseIndex degree, in Span()
221 return static_cast<DenseIndex>( std::distance(knots.data(), pos) - 1 ); in Span()
228 DenseIndex degree, in BasisFunctions()
233 const DenseIndex p = degree; in BasisFunctions()
234 const DenseIndex i = Spline::Span(u, degree, knots); in BasisFunctions()
246 for (DenseIndex j=1; j<=p; ++j) in BasisFunctions()
249 for (DenseIndex r=0; r<j; r++) in BasisFunctions()
261 DenseIndex Spline<_Scalar, _Dim, _Degree>::degree() const in degree()
270 DenseIndex Spline<_Scalar, _Dim, _Degree>::span(Scalar u) const in span()
280 const DenseIndex span = this->span(u); in operator()
281 const DenseIndex p = degree(); in operator()
292 …void derivativesImpl(const SplineType& spline, typename SplineType::Scalar u, DenseIndex order, De… in derivativesImpl()
302 const DenseIndex p = spline.degree(); in derivativesImpl()
303 const DenseIndex span = spline.span(u); in derivativesImpl()
305 const DenseIndex n = (std::min)(p, order); in derivativesImpl()
313 for (DenseIndex der_order=0; der_order<n+1; ++der_order) in derivativesImpl()
323 Spline<_Scalar, _Dim, _Degree>::derivatives(Scalar u, DenseIndex order) const in derivatives()
333 Spline<_Scalar, _Dim, _Degree>::derivatives(Scalar u, DenseIndex order) const in derivatives()
350 …rivativesImpl(const SplineType& spline, typename SplineType::Scalar u, DenseIndex order, Derivativ… in basisFunctionDerivativesImpl()
360 const DenseIndex p = spline.degree(); in basisFunctionDerivativesImpl()
361 const DenseIndex span = spline.span(u); in basisFunctionDerivativesImpl()
363 const DenseIndex n = (std::min)(p, order); in basisFunctionDerivativesImpl()
376 DenseIndex j; in basisFunctionDerivativesImpl()
383 for (DenseIndex r=0; r<j; ++r) in basisFunctionDerivativesImpl()
401 DenseIndex r=0; in basisFunctionDerivativesImpl()
404 DenseIndex s1,s2; in basisFunctionDerivativesImpl()
409 for (DenseIndex k=1; k<=static_cast<DenseIndex>(n); ++k) in basisFunctionDerivativesImpl()
412 DenseIndex rk,pk,j1,j2; in basisFunctionDerivativesImpl()
447 for (DenseIndex k=1; k<=static_cast<DenseIndex>(n); ++k) in basisFunctionDerivativesImpl()
449 for (DenseIndex j=p; j>=0; --j) N_(k,j) *= r; in basisFunctionDerivativesImpl()
456 Spline<_Scalar, _Dim, _Degree>::basisFunctionDerivatives(Scalar u, DenseIndex order) const in basisFunctionDerivatives()
466 Spline<_Scalar, _Dim, _Degree>::basisFunctionDerivatives(Scalar u, DenseIndex order) const in basisFunctionDerivatives()