Matrix class included
Dependencies: Matrix
MatrixMath.h
- Committer:
- Yo_Robot
- Date:
- 2011-10-21
- Revision:
- 0:eb69bbfb6486
- Child:
- 1:c74cdf14aea2
File content as of revision 0:eb69bbfb6486:
/** * @file: MatrixMath.h * @author: Ernesto Palacios * * Created on 15 de septiembre de 2011, 09:44 AM. * * Develop Under GPL v3.0 License * http://www.gnu.org/licenses/gpl-3.0.html * */ #ifndef MATRIXMATH_H #define MATRIXMATH_H #include "mbed.h" #include "Matrix.h" /** * @brief This class provides STATIC methods to preform operations over * Matrix Objects. * * Methods will be added as neccesary. * */ class MatrixMath{ public: static Matrix Transpose( const Matrix& matrix ); static Matrix Invert( const Matrix& matrix ); static float DotProduct( const Matrix& leftM, const Matrix& rightM ); static float Det( const Matrix& Mat ); static Matrix RotX( const Matrix& matrix, float radians ); static Matrix RotY( const Matrix& matrix, float radians ); static Matrix RotZ( const Matrix& matrix, float radians ); static Matrix Transl( const Matrix& matrix, float x, float y, float z ); }; #endif /* MATRIXMATH_H */