Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.arch.embedded > #31277 > unrolled thread
| Started by | Dave Nadler <drn@nadler.com> |
|---|---|
| First post | 2022-11-01 11:16 -0400 |
| Last post | 2022-11-02 07:36 -0400 |
| Articles | 5 — 3 participants |
Back to article view | Back to comp.arch.embedded
Matrix math C++ class library for MCUs? Dave Nadler <drn@nadler.com> - 2022-11-01 11:16 -0400
Re: Matrix math C++ class library for MCUs? David Brown <david.brown@hesbynett.no> - 2022-11-01 18:02 +0100
Re: Matrix math C++ class library for MCUs? Dave Nadler <drn@nadler.com> - 2022-11-01 15:16 -0400
Re: Matrix math C++ class library for MCUs? Paul Rubin <no.email@nospam.invalid> - 2022-11-01 22:14 -0700
Re: Matrix math C++ class library for MCUs? Dave Nadler <drn@nadler.com> - 2022-11-02 07:36 -0400
| From | Dave Nadler <drn@nadler.com> |
|---|---|
| Date | 2022-11-01 11:16 -0400 |
| Subject | Matrix math C++ class library for MCUs? |
| Message-ID | <tjrd7i$1q7k$1@gioia.aioe.org> |
Hi Guys - I'm searching for a C++ matrix math library suitable for Kalman filter implementation on MCUs. I found a few but they may be zombies, for example Eigen https://stackoverflow.com/questions/73883276/eigen-matrix-template-library-over-arm-cmsis-dsp got crickets. What do you guys use? Thanks in advance, Best Regards, Dave
[toc] | [next] | [standalone]
| From | David Brown <david.brown@hesbynett.no> |
|---|---|
| Date | 2022-11-01 18:02 +0100 |
| Message-ID | <tjrjf4$qknc$1@dont-email.me> |
| In reply to | #31277 |
On 01/11/2022 16:16, Dave Nadler wrote: > Hi Guys - I'm searching for a C++ matrix math library suitable for > Kalman filter implementation on MCUs. I found a few but they may be > zombies, for example Eigen > https://stackoverflow.com/questions/73883276/eigen-matrix-template-library-over-arm-cmsis-dsp got crickets. > What do you guys use? > Thanks in advance, > Best Regards, Dave How big are your matrices? If they are just 2x2, you can probably roll your own code as quickly as you can find and test something from the net. Templates are sometimes very useful and elegant, but if you have fixed known types and sizes, specific classes and functions are often easier to debug.
[toc] | [prev] | [next] | [standalone]
| From | Dave Nadler <drn@nadler.com> |
|---|---|
| Date | 2022-11-01 15:16 -0400 |
| Message-ID | <dd7baf29-c18a-51f6-fd2f-68ec74b1c669@nadler.com> |
| In reply to | #31278 |
On 11/1/2022 1:02 PM, David Brown wrote: > On 01/11/2022 16:16, Dave Nadler wrote: >> Hi Guys - I'm searching for a C++ matrix math library suitable for >> Kalman filter implementation on MCUs. I found a few but they may be >> zombies, for example Eigen >> https://stackoverflow.com/questions/73883276/eigen-matrix-template-library-over-arm-cmsis-dsp got crickets. >> What do you guys use? >> Thanks in advance, >> Best Regards, Dave > > How big are your matrices? If they are just 2x2, you can probably roll > your own code as quickly as you can find and test something from the > net. Templates are sometimes very useful and elegant, but if you have > fixed known types and sizes, specific classes and functions are often > easier to debug. Certainly a fair bit bigger than 2x2, non-sparse. Eigen does seem to be active but don't know about use on MCUs. M7 with adequate RAM should be OK though. Using templates for decades during which diagnostics have improved ;-)
[toc] | [prev] | [next] | [standalone]
| From | Paul Rubin <no.email@nospam.invalid> |
|---|---|
| Date | 2022-11-01 22:14 -0700 |
| Message-ID | <87leou2b0c.fsf@nightsong.com> |
| In reply to | #31277 |
Dave Nadler <drn@nadler.com> writes: > Hi Guys - I'm searching for a C++ matrix math library suitable for > Kalman filter implementation on MCUs. I found a few but they may be > zombies, for example Eigen I'm unfamiliar with Eigen and only vaguely informed about Kalman filters, but doing eigenvalue calculation properly takes some know-how, and you're better off using a library rather than rolling your own. Does the MCU angle actually matter in relation to the library choice? There are a zillion linear algebra packages out there, the best known probably being LAPACK. I have no idea if this is suitable for your requirements: https://www.gnu.org/software/gsl/
[toc] | [prev] | [next] | [standalone]
| From | Dave Nadler <drn@nadler.com> |
|---|---|
| Date | 2022-11-02 07:36 -0400 |
| Message-ID | <tjtknr$ku9$1@gioia.aioe.org> |
| In reply to | #31282 |
On 11/2/2022 1:14 AM, Paul Rubin wrote: > I have no idea if this is suitable for your requirements: > https://www.gnu.org/software/gsl/ Thanks Paul, unfortunately GSL has polluting GPL license; can't use it for current project... Eigen license is non-polluting.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.arch.embedded
csiph-web