You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
ClaudeAI 70a333ab67 Merge pull request #10: la_mojo: one report database per hour (report_HH.db) 5 hours ago
..
FUNCTIONS.rst initial commit 7 years ago
LICENSE initial commit 7 years ago
Makefile initial commit 7 years ago
README.rst initial commit 7 years ago
fixarray.c initial commit 7 years ago
fixarray.h initial commit 7 years ago
fixmatrix.c initial commit 7 years ago
fixmatrix.h initial commit 7 years ago
fixmatrix_unittests.c initial commit 7 years ago
fixquat.c initial commit 7 years ago
fixquat.h initial commit 7 years ago
fixquat_unittests.c initial commit 7 years ago
fixstring.c initial commit 7 years ago
fixstring.h initial commit 7 years ago
fixvector2d.c initial commit 7 years ago
fixvector2d.h initial commit 7 years ago
fixvector3d.c initial commit 7 years ago
fixvector3d.h initial commit 7 years ago
fixvector3d_unittests.c initial commit 7 years ago
unittests.h initial commit 7 years ago

README.rst

.. image:: http://kapsi.fi/~jpa/stuff/pix/fixmatrixlogo.png
:align: right

Fixed point matrix library
==========================

Libfixmatrix is a matrix computation library for microcontrollers.
It is based on the libfixmath_ library, which uses 16.16 bit fixed point values.
The main focus is processors without an FPU, such as ARM Cortex-M3.
The compiled size of the library is less than 5 kB, depending on optimization settings and processor.

The library includes all basic matrix operations, such as multiplication, addition and transposition.
Matrix equation solving (and matrix inversion) is implemented through `QR decomposition`_.
Also `Cholesky decomposition`_ is included. See `function reference`_ for details.

To avoid complexity and dynamic memory allocations, all matrices are allocated a buffer with constant size, specified with parameter
`FIXMATRIX_MAX_SIZE`. This wastes some memory with matrices smaller than the maximum size, but allows more predictable memory usage.

Libfixmatrix is suited well for tasks involving small matrices (often less than 10x10):
`Kalman filters`_, `transformation matrices`_ and solving `systems of linear equations`_.

.. _libfixmath: http://code.google.com/p/libfixmath/
.. _QR decomposition: http://en.wikipedia.org/wiki/QR_decomposition
.. _Cholesky decomposition: http://en.wikipedia.org/wiki/Cholesky_decomposition
.. _function reference: https://github.com/PetteriAimonen/libfixmatrix/blob/master/FUNCTIONS.rst
.. _Kalman filters: http://en.wikipedia.org/wiki/Kalman_filter
.. _transformation matrices: http://en.wikipedia.org/wiki/Transformation_matrix
.. _systems of linear equations: http://en.wikipedia.org/wiki/System_of_linear_equations