use from Ernesto Palacios

Dependents:   RoboticArm DXL_SDK_Porting_Test

Fork of Matrix by Ernesto Palacios

Revision:
6:3f01dc2d77f1
Parent:
5:a4014ab0a8cf
--- a/Matrix.h	Sun Oct 30 16:29:23 2011 +0000
+++ b/Matrix.h	Thu Feb 02 04:28:35 2017 +0000
@@ -9,11 +9,11 @@
  * http://www.gnu.org/licenses/gpl-3.0.html
  *
  */
-
+//#include "stdafx.h"
 #ifndef MATRIX_H
 #define MATRIX_H
 
-
+using namespace std;
 #include <vector>
 
 class MatrixMath;
@@ -369,6 +369,15 @@
     void add( int Row, int Col, float number );
 
 
+    //stanley
+    //[Vec1 vec2 vec3 number]'
+    void Vec_ext_1_row( Matrix& Vec,float number);
+
+
+    //stanley
+    //[Vec1 vec2 vec3 number]'  =>Just get [Vec1 vec2 vec3]
+    void Vec_export_3_row( Matrix& Vec);
+
     /** @brief
      * Returns the sum of every cell in the Matrix.
      */
@@ -396,10 +405,12 @@
     int  getRows() const;
 
 
+
+
 private:
 
     /** 2-D Vector Array*/
-    vector < vector<float> > _matrix;
+    std::vector <std::vector<float> > _matrix;
 
 
 
@@ -419,5 +430,4 @@
 
 };
 
-#endif    /* MATRIX_H */
-
+#endif    /* MATRIX_H */
\ No newline at end of file