Main MRPT website > C++ reference
MRPT logo
CMatrixB.h
Go to the documentation of this file.
1 /* +---------------------------------------------------------------------------+
2  | The Mobile Robot Programming Toolkit (MRPT) C++ library |
3  | |
4  | http://www.mrpt.org/ |
5  | |
6  | Copyright (C) 2005-2012 University of Malaga |
7  | |
8  | This software was written by the Machine Perception and Intelligent |
9  | Robotics Lab, University of Malaga (Spain). |
10  | Contact: Jose-Luis Blanco <jlblanco@ctima.uma.es> |
11  | |
12  | This file is part of the MRPT project. |
13  | |
14  | MRPT is free software: you can redistribute it and/or modify |
15  | it under the terms of the GNU General Public License as published by |
16  | the Free Software Foundation, either version 3 of the License, or |
17  | (at your option) any later version. |
18  | |
19  | MRPT is distributed in the hope that it will be useful, |
20  | but WITHOUT ANY WARRANTY; without even the implied warranty of |
21  | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
22  | GNU General Public License for more details. |
23  | |
24  | You should have received a copy of the GNU General Public License |
25  | along with MRPT. If not, see <http://www.gnu.org/licenses/>. |
26  | |
27  +---------------------------------------------------------------------------+ */
28 #ifndef CMATRIXB_H
29 #define CMATRIXB_H
30 
33 
34 namespace mrpt
35 {
36  namespace math
37  {
38 
39  // This must be added to any CSerializable derived class:
41 
42 
43  /** This class is a "CSerializable" wrapper for "CMatrixBool".
44  * \note For a complete introduction to Matrices and vectors in MRPT, see: http://www.mrpt.org/Matrices_vectors_arrays_and_Linear_Algebra_MRPT_and_Eigen_classes
45  * \ingroup mrpt_base_grp
46  */
47  class BASE_IMPEXP CMatrixB : public mrpt::utils::CSerializable, public CMatrixBool
48  {
49  // This must be added to any CSerializable derived class:
51  public:
52  /** Constructor
53  */
54  CMatrixB(size_t row = 1, size_t col = 1) : CMatrixBool(row,col)
55  {
56  }
57 
58  /** Copy constructor
59  */
60  CMatrixB( const CMatrixBool &m ) : CMatrixBool(m)
61  {
62  }
63 
64  /** Assignment operator for float matrixes
65  */
66  CMatrixB & operator = (const CMatrixBool& m)
67  {
68  CMatrixBool::operator =(m);
69  return *this;
70  }
71 
72  }; // end of class definition
73 
74  } // End of namespace
75 } // End of namespace
76 
77 #endif



Page generated by Doxygen 1.8.3 for MRPT 0.9.6 SVN: at Fri Feb 15 22:05:02 EST 2013