nanimo kaete nai

Committer:
tyuito
Date:
Tue Jun 14 07:37:36 2022 +0000
Revision:
0:4ff90c5befd9
nanimo kaete  nai to omou

Who changed what in which revision?

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