Public Types | Protected Types

OpenTissue::spline::MathTypes< T, I > Class Template Reference

#include <spline_math_types.h>

Inheritance diagram for OpenTissue::spline::MathTypes< T, I >:
OpenTissue::math::BasicMathTypes< T, I >

List of all members.

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

Detailed Description

template<typename T, typename I>
class OpenTissue::spline::MathTypes< T, I >

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.


Member Typedef Documentation

template<typename T , typename I >
typedef OpenTissue::math::BasicMathTypes<T, I> OpenTissue::spline::MathTypes< T, I >::base_math_types [protected]
template<typename T , typename I >
typedef boost::numeric::ublas::matrix<T> OpenTissue::spline::MathTypes< T, I >::matrix_type
template<typename T , typename I >
typedef boost::numeric::ublas::vector<T> OpenTissue::spline::MathTypes< T, I >::vector_type

The documentation for this class was generated from the following file: