Coder Social home page Coder Social logo

andrewytf / libfixmatrix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from petteriaimonen/libfixmatrix

0.0 1.0 0.0 314 KB

C library for fixed point matrix, quaternion and vector calculations

License: MIT License

Makefile 1.66% C 95.66% C++ 2.67%

libfixmatrix's Introduction

image

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.

libfixmatrix's People

Contributors

petteriaimonen avatar sunsided avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.