Matrix Library. v1.6.4
Dependents: Matrix_class Wizardsneverdie TwoTank mbed_multiplex_matrix ... more
Log.c@5:a4014ab0a8cf, 2011-10-30 (annotated)
- Committer:
- Yo_Robot
- Date:
- Sun Oct 30 16:29:23 2011 +0000
- Revision:
- 5:a4014ab0a8cf
- Parent:
- 4:c0c8f3edd60e
Version 1.6.4 View Log.c for changes.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Yo_Robot | 5:a4014ab0a8cf | 1 | /** |
Yo_Robot | 5:a4014ab0a8cf | 2 | * @brief Keep track of changes since version 1.6 e-mail: mecatronica.mid@gmail.com |
Yo_Robot | 5:a4014ab0a8cf | 3 | * @file Log.c |
Yo_Robot | 5:a4014ab0a8cf | 4 | * @author Ernesto Palacios |
Yo_Robot | 5:a4014ab0a8cf | 5 | */ |
Yo_Robot | 5:a4014ab0a8cf | 6 | |
Yo_Robot | 5:a4014ab0a8cf | 7 | /* |
Yo_Robot | 5:a4014ab0a8cf | 8 | 1.6.4.0 30/10/2011 |
Yo_Robot | 5:a4014ab0a8cf | 9 | -->> MATRIX_H |
Yo_Robot | 5:a4014ab0a8cf | 10 | * Eliminated namespace std; already included in mbed.h |
Yo_Robot | 5:a4014ab0a8cf | 11 | * Operator Overloaded (). For assignment and getValue. |
Yo_Robot | 5:a4014ab0a8cf | 12 | * Almost all operators declared as friend functions. |
Yo_Robot | 5:a4014ab0a8cf | 13 | |
Yo_Robot | 5:a4014ab0a8cf | 14 | -->> MATRIXMATH_H |
Yo_Robot | 5:a4014ab0a8cf | 15 | * Added Function Eye(). Creates an identity Matrix of specified dimensions. |
Yo_Robot | 5:a4014ab0a8cf | 16 | * Added Function dotProduct(). to find the dot product of two vectors. |
Yo_Robot | 5:a4014ab0a8cf | 17 | -->> You need to pass two Vector Matrices of any dimmensions. |
Yo_Robot | 5:a4014ab0a8cf | 18 | They could be in the form: A( 1,n ) B( 1,n ) |
Yo_Robot | 5:a4014ab0a8cf | 19 | A( n,1 ) B( 1,n ) |
Yo_Robot | 5:a4014ab0a8cf | 20 | A( n,1 ) B( n,1 ) |
Yo_Robot | 5:a4014ab0a8cf | 21 | A( 1,n ) B( n,1 ) |
Yo_Robot | 5:a4014ab0a8cf | 22 | As long as have same 'depth' and are vectors, the dot product. |
Yo_Robot | 5:a4014ab0a8cf | 23 | will be returned. |
Yo_Robot | 5:a4014ab0a8cf | 24 | |
Yo_Robot | 5:a4014ab0a8cf | 25 | -->> MATRIXMATH_Kinematics.cpp |
Yo_Robot | 5:a4014ab0a8cf | 26 | * Created file MatrixMath_Kinematics.cpp To Hold the definitions of |
Yo_Robot | 5:a4014ab0a8cf | 27 | kinematic operations. |
Yo_Robot | 5:a4014ab0a8cf | 28 | |
Yo_Robot | 5:a4014ab0a8cf | 29 | * Define Functions RotX, RotY, RotZ, Transl. for Matrix Transformation |
Yo_Robot | 5:a4014ab0a8cf | 30 | operations. |
Yo_Robot | 5:a4014ab0a8cf | 31 | |
Yo_Robot | 4:c0c8f3edd60e | 32 | |
Yo_Robot | 4:c0c8f3edd60e | 33 | 1.6.2.0 22/10/2011 |
Yo_Robot | 4:c0c8f3edd60e | 34 | -->> MATRIX_H |
Yo_Robot | 4:c0c8f3edd60e | 35 | * Changed static member Matrix::AddColumn( ... ) -> Matrix::AddCol( ... ) |
Yo_Robot | 4:c0c8f3edd60e | 36 | * Overload AddCol/AddRow, it now can accept SingleCol/ SingleRow as arguments. |
Yo_Robot | 4:c0c8f3edd60e | 37 | Still works the same for inserting new Col/Row. Usage: |
Yo_Robot | 4:c0c8f3edd60e | 38 | |
Yo_Robot | 4:c0c8f3edd60e | 39 | Matrix::AddRow( myMatrix, 3 ); // Inserts an empty col at index 3 of myMatrix |
Yo_Robot | 4:c0c8f3edd60e | 40 | |
Yo_Robot | 4:c0c8f3edd60e | 41 | Matrix::AddCol( myMatrix, SingleCol, 3 ); // Inserts a SingleCol Matrix into index 3 of myMarix |
Yo_Robot | 4:c0c8f3edd60e | 42 | |
Yo_Robot | 4:c0c8f3edd60e | 43 | -->> MATRIXMATH_H |
Yo_Robot | 4:c0c8f3edd60e | 44 | * float det = MatrixMath::det( myMatrix ); |
Yo_Robot | 4:c0c8f3edd60e | 45 | Returns the determinant of any nxn Matrix. |
Yo_Robot | 4:c0c8f3edd60e | 46 | |
Yo_Robot | 4:c0c8f3edd60e | 47 | * Matrix Inv = MatrixMath::Inv( myMatrix ) |
Yo_Robot | 4:c0c8f3edd60e | 48 | Returns the determinant of any nxn Matrix, if it's not a Singular matrix |
Yo_Robot | 4:c0c8f3edd60e | 49 | |
Yo_Robot | 4:c0c8f3edd60e | 50 | |
Yo_Robot | 4:c0c8f3edd60e | 51 | WARNING: If it is a Singular Matrix it will return the same Matrix. |
Yo_Robot | 4:c0c8f3edd60e | 52 | A singular Matrix is one whose inverse does not exists. |
Yo_Robot | 4:c0c8f3edd60e | 53 | |
Yo_Robot | 4:c0c8f3edd60e | 54 | 1.6.0.1 21/10/2011 |
Yo_Robot | 4:c0c8f3edd60e | 55 | First class ready to work. but still some rough edges to polish. Better use 1.6.2 |
Yo_Robot | 4:c0c8f3edd60e | 56 | |
Yo_Robot | 4:c0c8f3edd60e | 57 | 1.0 15/09/2011 |
Yo_Robot | 4:c0c8f3edd60e | 58 | |
Yo_Robot | 4:c0c8f3edd60e | 59 | First Version.- Buggy and no longer supported. |
Yo_Robot | 4:c0c8f3edd60e | 60 | |
Yo_Robot | 4:c0c8f3edd60e | 61 | */ |