History | View | Annotate | Download (4.951 KB)
Add attribution line for fixes in utility code
Fix conversion of impure rotation matrices to quaternions
The test for the largest element in the matrix diagonal was reversed, whichresulted in taking the square root of a negative value for matrices withdeterminant less than zero.
Store determinant as double when computing matrix inverse. Does not matter on Arduino, but might on other platforms.
The recursive definition of the determinant function, combined with the factthat no specialized function for the base case N==1 is given, leads toinstantiation of this function for all 256 possible values of a uint8_t (eventhough these are not used in practice). Fix this by providing an explicit...
Remove inclusion of unused headers
Fix calculation of inverse. We should divide by the determinant instead of multiply with it.
Fix minor_matrix() accessing data past end of array.
Get rid of superfluous _cell member
Use more standard (i, j) index names and constify transpose()
Prevent copying row data for every element in matrix multiplication.
Dox matrix addition, subtraction, and scalar multiplication using a single loop instead of a double loop.
make row and column retrieval function const, pass Vector arguments to row and column setters as const reference
Use a single loop to copy matrices
Add functions for reading elements of constant matrix
Fix memset() in constructors writing past end of data
Include vector.h, so that including just matrix.h will pull in the requested dependencies
Switch from dynamic memory to stack allocated memory for imumath types, add TinyWireM support, make indentation consistent.
First commit