add MatrixCross

Revision:
7:b22d56ac37aa
Parent:
6:aa5e94cddb3f
--- a/MatrixMath.h	Thu Sep 17 17:51:22 2020 +0700
+++ b/MatrixMath.h	Tue Aug 10 08:08:11 2021 +0000
@@ -15,7 +15,7 @@
 
 #include "mbed.h"
 #include "Matrix.h"
-
+#include "Vector3.hpp"
 
 /**
  * @brief This class provides STATIC methods to perform operations 
@@ -39,6 +39,17 @@
      * @param Mat matrix to calcute inverse.
      * @return Matrix Inverse
      */
+     
+    static Matrix Matrixcross(const float px, const float py, const float pz);
+    /**@brief
+     * 外積を計算するためのMatrixを計算する
+     */
+    
+    static Matrix Vector2mat(const Vector3 vec);
+    /**@brief
+     * 外積を計算するためのMatrixを計算する
+     */
+    
     static Matrix Inv( const Matrix& Mat );