This class provides with operations for Matrix Objects

Dependents:   Matrix_class Wizardsneverdie mbed_multiplex_matrix Kinematics_Project_G5 ... more

Revision:
6:aa5e94cddb3f
Parent:
5:93948a9bbde2
--- a/MatrixMath.h	Sun Oct 30 19:21:30 2011 +0000
+++ b/MatrixMath.h	Thu Sep 17 17:51:22 2020 +0700
@@ -67,6 +67,22 @@
      */
     static float det( const Matrix& Mat );
 
+    /**@brief Calculates Kronecker product of two Matrix.
+     * Kronecker product is an operation on two matrices of arbitrary
+     * size resulting in a block matrix. If A is an m × n matrix 
+     * and B is a p × q matrix, then the Kronecker product A ⊗ B is 
+     * the pm × qn block matrix:
+     *         -                    -
+     *         | a_11 B ... a_1n B  |
+     * A ⊗ B = | ...    ...    ...  |
+     *         | a_m1 B ... a_mn B  |
+     *         -                    -
+     * @param Mat_A Matrix m × n 
+     * @param Mat_B Matrix p × q
+     * @return Kron Matrix pm × qn.
+     */
+    static Matrix kron(const Matrix& Mat_A, const Matrix& Mat_B);
+
 
     //====  For Kinematics ====//