forum.alglib.net

ALGLIB forum
It is currently Sat Dec 21, 2024 11:33 am

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: How to compile alglib on stm32?
PostPosted: Sun Mar 24, 2024 7:34 am 
Offline

Joined: Sun Mar 24, 2024 7:31 am
Posts: 1
I want to use it for PX4 project, https://docs.px4.io/main/en/. I want to use this lib to solve an LP problem of a control allocation of aircraft.


Top
 Profile  
 
 Post subject: Re: How to compile alglib on stm32?
PostPosted: Wed Mar 27, 2024 6:40 pm 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
If it has double precision floating point support (hardware or software), then you can simply compile ALGLIB without OS-specific and CPU-specific #defines. It will work as a generic C code that does not use any 'advanced' OS-related functions which are absent on your system.

The only question is how to fit ALGLIB binary into limited resources one usually has on such systems. A full ALGLIB binary needs several megabytes of RAM, and if you compile just linear programming, it is still likely to be more than a megabyte.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group