10 #ifndef EIGEN_SPLINES_FWD_H
11 #define EIGEN_SPLINES_FWD_H
14 #include "../../../../Eigen/Core"
18 template <
typename Scalar,
int Dim,
int Degree = Dynamic>
class Spline;
20 template <
typename SplineType,
int DerivativeOrder = Dynamic >
struct SplineTraits {};
26 template <
typename Scalar_,
int Dim_,
int Degree_>
30 enum { Dimension = Dim_ };
31 enum { Degree = Degree_ };
34 enum { NumOfDerivativesAtCompileTime = OrderAtCompileTime };
66 template <
typename Scalar_,
int Dim_,
int Degree_,
int _DerivativeOrder >
70 enum { NumOfDerivativesAtCompileTime = _DerivativeOrder==
Dynamic ?
Dynamic : _DerivativeOrder+1 };
A class representing multi-dimensional spline curves.
: TensorContractionSycl.h, provides various tensor contraction kernel for SYCL backend
Spline< float, 2 > Spline2f
2D float B-spline with dynamic degree.
Spline< double, 3 > Spline3d
3D double B-spline with dynamic degree.
Spline< float, 3 > Spline3f
3D float B-spline with dynamic degree.
Spline< double, 2 > Spline2d
2D double B-spline with dynamic degree.
Array< Scalar, 1, OrderAtCompileTime > BasisVectorType
The data type used to store non-zero basis functions.
Array< Scalar, Dimension, Dynamic > ControlPointVectorType
The data type representing the spline's control points.
Array< Scalar, 1, Dynamic > ParameterVectorType
The data type used to store parameter vectors.
Array< Scalar, 1, Dynamic > KnotVectorType
The data type used to store knot vectors.
Array< Scalar, Dynamic, Dynamic, RowMajor, NumOfDerivativesAtCompileTime, OrderAtCompileTime > BasisDerivativeType
The data type used to store the values of the basis function derivatives.
Array< Scalar, Dimension, Dynamic, DerivativeMemoryLayout, Dimension, NumOfDerivativesAtCompileTime > DerivativeType
The data type used to store the spline's derivative values.
Array< Scalar, Dimension, 1 > PointType
The point type the spline is representing.
Array< Scalar_, Dim_, Dynamic, DerivativeMemoryLayout, Dim_, NumOfDerivativesAtCompileTime > DerivativeType
The data type used to store the spline's derivative values.
Array< Scalar_, Dynamic, Dynamic, RowMajor, NumOfDerivativesAtCompileTime, OrderAtCompileTime > BasisDerivativeType
The data type used to store the values of the basis function derivatives.