MPUとHMCでうごくかもver

Dependencies:   ConfigFile SDFileSystem mbed

Fork of LAURUS_program by hiroya taura

Revision:
9:6d4578dcc1ed
Parent:
0:bc6f14fc60c7
Child:
13:df1e8a650185
--- a/Vector/Vector.h	Fri Jun 12 15:28:05 2015 +0000
+++ b/Vector/Vector.h	Mon Jun 15 10:40:18 2015 +0000
@@ -10,6 +10,8 @@
     Vector(const Vector& v);
 
     Vector& operator=(const Vector& v);
+    Vector operator+();
+    Vector operator-();
     Vector& operator*=(float c);
     Vector& operator/=(float c);
     Vector& operator+=(const Vector& v);
@@ -18,6 +20,8 @@
     void SetComp(int dimNo, float val);
     float GetNorm() const;
     Vector Normalize() const;
+    Vector GetParaCompTo(Vector v);
+    Vector GetPerpCompTo(Vector v);
 
     inline int GetDim() const {
         return dim;