MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Classes | Namespaces | Defines
mdsMatrixBase.h File Reference

Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2010 by Michal Spanel
. More...

#include <MDSTk/Base/mdsTypeTraits.h>
#include <MDSTk/Base/mdsScalar.h>

Classes

class  mds::math::CMatrixBase< M >
 Base class for all two-dimensional matrixes. More...
struct  mds::math::CMatrixTraits< M >
 Traits used to implement curiously recurring template pattern for matrices. More...

Namespaces

namespace  mds
 

Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2005 by Michal Spanel


namespace  mds::math

Defines

#define MDS_MATRIX_TRAITS(MatrixClass)
 Helper macro used to declare matrix traits before a matrix class template.
#define MDS_STATIC_MATRIX_TRAITS(MatrixClass)
 Helper macro used to declare matrix traits before a matrix class template.

Detailed Description

Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2010 by Michal Spanel
.

Author: Michal Spanel, spanel@fit.vutbr.cz
Date: 2006/02/12

Id:
mdsMatrixBase.h 2094 2012-02-16 01:54:45Z spanel

Description:


Define Documentation

#define MDS_MATRIX_TRAITS (   MatrixClass)
Value:
template <typename T> class MatrixClass; \
    template <typename T> \
    struct CMatrixTraits<MatrixClass<T> > \
    { \
        typedef T tElement; \
    };

Helper macro used to declare matrix traits before a matrix class template.

#define MDS_STATIC_MATRIX_TRAITS (   MatrixClass)
Value:
template <typename T, tSize U, tSize V> class MatrixClass; \
    template <typename T, tSize U, tSize V> \
    struct CMatrixTraits<MatrixClass<T,U,V> > \
    { \
        typedef T tElement; \
    };

Helper macro used to declare matrix traits before a matrix class template.