aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/src/Splines
diff options
context:
space:
mode:
authorGravatar Jeff <complexzeros@gmail.com>2014-06-25 19:02:57 -0600
committerGravatar Jeff <complexzeros@gmail.com>2014-06-25 19:02:57 -0600
commit08c615f1e425d6749ef45ffcbf574e550ba02fea (patch)
treea13c685533abe6dabae2a1a0249ba1a26e3833f1 /unsupported/Eigen/src/Splines
parentf9496d341f2910cc8d43567c8af01f4bb8ca18a4 (diff)
IndexArray is now a typename.
Changed interpolate with derivatives test to use VERIFY_IS_APPROX.
Diffstat (limited to 'unsupported/Eigen/src/Splines')
-rw-r--r--unsupported/Eigen/src/Splines/SplineFitting.h10
-rw-r--r--unsupported/Eigen/src/Splines/SplineFwd.h2
2 files changed, 5 insertions, 7 deletions
diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h
index 9567c69c2..85de38b25 100644
--- a/unsupported/Eigen/src/Splines/SplineFitting.h
+++ b/unsupported/Eigen/src/Splines/SplineFitting.h
@@ -74,7 +74,7 @@ namespace Eigen
* Curve interpolation with directional constraints for engineering design.
* Engineering with Computers
**/
- template <typename KnotVectorType, typename ParameterVectorType>
+ template <typename KnotVectorType, typename ParameterVectorType, typename IndexArray>
void KnotAveragingWithDerivatives(const ParameterVectorType& parameters,
const unsigned int degree,
const IndexArray& derivativeIndices,
@@ -255,7 +255,7 @@ namespace Eigen
* Curve interpolation with directional constraints for engineering design.
* Engineering with Computers
**/
- template <typename PointArrayType>
+ template <typename PointArrayType, typename IndexArray>
static SplineType InterpolateWithDerivatives(const PointArrayType& points,
const PointArrayType& derivatives,
const IndexArray& derivativeIndices,
@@ -277,7 +277,7 @@ namespace Eigen
* Curve interpolation with directional constraints for engineering design.
* Engineering with Computers
*/
- template <typename PointArrayType>
+ template <typename PointArrayType, typename IndexArray>
static SplineType InterpolateWithDerivatives(const PointArrayType& points,
const PointArrayType& derivatives,
const IndexArray& derivativeIndices,
@@ -327,7 +327,7 @@ namespace Eigen
}
template <typename SplineType>
- template <typename PointArrayType>
+ template <typename PointArrayType, typename IndexArray>
SplineType
SplineFitting<SplineType>::InterpolateWithDerivatives(const PointArrayType& points,
const PointArrayType& derivatives,
@@ -414,7 +414,7 @@ namespace Eigen
}
template <typename SplineType>
- template <typename PointArrayType>
+ template <typename PointArrayType, typename IndexArray>
SplineType
SplineFitting<SplineType>::InterpolateWithDerivatives(const PointArrayType& points,
const PointArrayType& derivatives,
diff --git a/unsupported/Eigen/src/Splines/SplineFwd.h b/unsupported/Eigen/src/Splines/SplineFwd.h
index ec3dc0ff5..0a95fbf3e 100644
--- a/unsupported/Eigen/src/Splines/SplineFwd.h
+++ b/unsupported/Eigen/src/Splines/SplineFwd.h
@@ -88,8 +88,6 @@ namespace Eigen
/** \brief 3D double B-spline with dynamic degree. */
typedef Spline<double,3> Spline3d;
-
- typedef Array<DenseIndex, 1, Dynamic> IndexArray;
}
#endif // EIGEN_SPLINES_FWD_H