![]() |
TAPs 0.7.7.3
|
00001 /****************************************************************************** 00002 TAPsSparseVector_Matrix3x3_ElementData.hpp 00003 ******************************************************************************/ 00007 /****************************************************************************** 00008 SUKITTI PUNAK (03/18/2010) 00009 UPDATE (03/19/2010) 00010 ******************************************************************************/ 00011 #ifndef TAPs_SPARSE_VECTOR_MATRIX3X3_ELEMENT_DATA_HPP 00012 #define TAPs_SPARSE_VECTOR_MATRIX3X3_ELEMENT_DATA_HPP 00013 00014 #include "../Core/TAPsMatrix3x3.hpp" 00015 00016 BEGIN_NAMESPACE_TAPs 00017 //============================================================================= 00018 template <typename T> 00019 class SparseVector_Matrix3x3_ElementData { 00020 public: 00021 // Member Functions ----------------------------------------- 00022 SparseVector_Matrix3x3_ElementData () : idx(0), M() {}; 00023 SparseVector_Matrix3x3_ElementData ( unsigned int i, Matrix3x3<T> const &_M ) : idx(i), M(_M) {}; 00024 // Data Members --------------------------------------------- 00025 unsigned int idx; 00026 Matrix3x3<T> M; 00027 }; 00028 //============================================================================= 00029 END_NAMESPACE_TAPs 00030 //----------------------------------------------------------------------------- 00031 #endif 00032 //34567890123456789012345678901234567890123456789012345678901234567890123456789 00033 //--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----