#include <spline_math_types.h>
Public Types | |
typedef boost::numeric::ublas::matrix < T > | matrix_type |
typedef boost::numeric::ublas::vector < T > | vector_type |
Protected Types | |
typedef OpenTissue::math::BasicMathTypes < T, I > | base_math_types |
Spline Default Math Types. This class is provided as a utility class making it easier for users to get started.
The spline library is transparent to the math types. That means that one is not requred to use OpenTissue math types together with the spline library but can use user-customized math types instead.
The class assumes that the end-user wants to use the OpenTissue usual math types. If one has a third-party matrix-vector library that one would rather use then one should create ones own math types to be used with the spline library.
We have decided to use a math type binder to reduce the uglyness in written template arguments for the functions and classes in the spline library. Thus the main functionality of the type binder is to serve as a collection of types.
typedef OpenTissue::math::BasicMathTypes<T, I> OpenTissue::spline::MathTypes< T, I >::base_math_types [protected] |
typedef boost::numeric::ublas::matrix<T> OpenTissue::spline::MathTypes< T, I >::matrix_type |
typedef boost::numeric::ublas::vector<T> OpenTissue::spline::MathTypes< T, I >::vector_type |