This class provides with operations for Matrix Objects

Dependents:   Matrix_class Wizardsneverdie mbed_multiplex_matrix Kinematics_Project_G5 ... more

Committer:
Yo_Robot
Date:
Fri Oct 21 03:28:28 2011 +0000
Revision:
0:eb69bbfb6486
Child:
1:c74cdf14aea2
version 0.1  still under development, only published to accompany Matrix Class

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Yo_Robot 0:eb69bbfb6486 1 /**
Yo_Robot 0:eb69bbfb6486 2 * @file: MatrixMath.h
Yo_Robot 0:eb69bbfb6486 3 * @author: Ernesto Palacios
Yo_Robot 0:eb69bbfb6486 4 *
Yo_Robot 0:eb69bbfb6486 5 * Created on 15 de septiembre de 2011, 09:44 AM.
Yo_Robot 0:eb69bbfb6486 6 *
Yo_Robot 0:eb69bbfb6486 7 * Develop Under GPL v3.0 License
Yo_Robot 0:eb69bbfb6486 8 * http://www.gnu.org/licenses/gpl-3.0.html
Yo_Robot 0:eb69bbfb6486 9 *
Yo_Robot 0:eb69bbfb6486 10 */
Yo_Robot 0:eb69bbfb6486 11
Yo_Robot 0:eb69bbfb6486 12 #ifndef MATRIXMATH_H
Yo_Robot 0:eb69bbfb6486 13 #define MATRIXMATH_H
Yo_Robot 0:eb69bbfb6486 14
Yo_Robot 0:eb69bbfb6486 15 #include "mbed.h"
Yo_Robot 0:eb69bbfb6486 16 #include "Matrix.h"
Yo_Robot 0:eb69bbfb6486 17
Yo_Robot 0:eb69bbfb6486 18
Yo_Robot 0:eb69bbfb6486 19 /**
Yo_Robot 0:eb69bbfb6486 20 * @brief This class provides STATIC methods to preform operations over
Yo_Robot 0:eb69bbfb6486 21 * Matrix Objects.
Yo_Robot 0:eb69bbfb6486 22 *
Yo_Robot 0:eb69bbfb6486 23 * Methods will be added as neccesary.
Yo_Robot 0:eb69bbfb6486 24 *
Yo_Robot 0:eb69bbfb6486 25 */
Yo_Robot 0:eb69bbfb6486 26 class MatrixMath{
Yo_Robot 0:eb69bbfb6486 27 public:
Yo_Robot 0:eb69bbfb6486 28
Yo_Robot 0:eb69bbfb6486 29
Yo_Robot 0:eb69bbfb6486 30 static Matrix Transpose( const Matrix& matrix );
Yo_Robot 0:eb69bbfb6486 31
Yo_Robot 0:eb69bbfb6486 32 static Matrix Invert( const Matrix& matrix );
Yo_Robot 0:eb69bbfb6486 33
Yo_Robot 0:eb69bbfb6486 34 static float DotProduct( const Matrix& leftM, const Matrix& rightM );
Yo_Robot 0:eb69bbfb6486 35
Yo_Robot 0:eb69bbfb6486 36 static float Det( const Matrix& Mat );
Yo_Robot 0:eb69bbfb6486 37
Yo_Robot 0:eb69bbfb6486 38 static Matrix RotX( const Matrix& matrix, float radians );
Yo_Robot 0:eb69bbfb6486 39
Yo_Robot 0:eb69bbfb6486 40 static Matrix RotY( const Matrix& matrix, float radians );
Yo_Robot 0:eb69bbfb6486 41
Yo_Robot 0:eb69bbfb6486 42 static Matrix RotZ( const Matrix& matrix, float radians );
Yo_Robot 0:eb69bbfb6486 43
Yo_Robot 0:eb69bbfb6486 44 static Matrix Transl( const Matrix& matrix, float x, float y, float z );
Yo_Robot 0:eb69bbfb6486 45
Yo_Robot 0:eb69bbfb6486 46 };
Yo_Robot 0:eb69bbfb6486 47
Yo_Robot 0:eb69bbfb6486 48 #endif /* MATRIXMATH_H */