Recent

Author Topic: LMath and LMComponents 0.6.1  (Read 1278 times)

glorfin

  • Full Member
  • ***
  • Posts: 151
  • LMath supporter
LMath and LMComponents 0.6.1
« on: September 29, 2024, 01:24:18 am »
After a break, I return to this library. New release, 0.6.1.
There are some small changes in LMath itself. However, most important is that several data filtering components (THighPassFilter, TNotchFilter, TBandPassFilter, and  TChebyshevFilter were added to LMComponents. All of these components can filter pre-existing datasets, as well as be used for real-time filtering during data acquisition. Besides that, ability to filter in real time was added to TMoveAvFilter and TMedianFilter. The only filter which does not have this ability remains TGaussFilter.

https://sourceforge.net/projects/lmath-library/

 

AlexTP

  • Hero Member
  • *****
  • Posts: 2479
    • UVviewsoft
Re: LMath and LMComponents 0.6.1
« Reply #1 on: September 29, 2024, 08:55:28 am »
I just added info about LMComponents to the
https://wiki.freepascal.org/LMath
Pls review and edit if needed.

Maybe it's good to add wiki infos about each unit of LMath? Do it if needed. I did this for each unit of LMComponents.
« Last Edit: September 29, 2024, 08:59:14 am by AlexTP »

LV

  • Full Member
  • ***
  • Posts: 153
Re: LMath and LMComponents 0.6.1
« Reply #2 on: September 29, 2024, 12:50:54 pm »
great job, thanks  ;)

glorfin

  • Full Member
  • ***
  • Posts: 151
  • LMath supporter
Re: LMath and LMComponents 0.6.1
« Reply #3 on: September 29, 2024, 11:50:53 pm »
I just added info about LMComponents to the
https://wiki.freepascal.org/LMath
Pls review and edit if needed.

Maybe it's good to add wiki infos about each unit of LMath? Do it if needed. I did this for each unit of LMComponents.

Many thanks! I will look for it. Info for every unit is probably too much, but for every sub-package certainly.
(And using this possibility, thank you for SynWrite, I am still using it).

LV

  • Full Member
  • ***
  • Posts: 153
Re: LMath and LMComponents 0.6.1
« Reply #4 on: October 01, 2024, 09:03:16 am »
I'm trying to use some math libraries in my apps.  What is the advantage of LMath compared to, for example, ALGLIB (Free Edition)? Maybe it's got something to do with the license or the open source code or what? Thanks.

glorfin

  • Full Member
  • ***
  • Posts: 151
  • LMath supporter
Re: LMath and LMComponents 0.6.1
« Reply #5 on: October 01, 2024, 03:00:01 pm »
Well, license, yes. Free AlgLib is distributed under strict GPL, while LMath under modified LGPL. Besides, in my view, it is easier to use. At list, when I was not yet supporter of LMath and was choosing between AlgLib and DMath for my own project (Nest-o-Patch, https://sourceforge.net/projects/nestopatch/, I found building DMath much easier, and LMath is organized as set of Lazarus packages, which makes it even more easy. LMath includes some components; I think that filtering components may be most interesting among them. Package MathUtils makes (in my view) easier work with arrays of real numbers.

Having said all that, I don't think, one can say that LMath is better than AlgLib; it is largely question of taste and one's needs.
For example, in many cases AlgLib is written in more efficient way and can be preferred for really intensive calculations (though it is also question of testing); procedures in LMath are often easier to understant, exactly because they are not obscured by heavy optimizations.

LV

  • Full Member
  • ***
  • Posts: 153
Re: LMath and LMComponents 0.6.1
« Reply #6 on: October 02, 2024, 05:57:28 pm »
@glorfin, that was a clear and easy to understand explanation. Thanks for your work!

CM630

  • Hero Member
  • *****
  • Posts: 1191
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: LMath and LMComponents 0.6.1
« Reply #7 on: November 09, 2024, 08:19:41 pm »
Could you advice me which part of LMath could be used to determine main and harmonic frequences of (electrical) signal?



Лазар 4,0RC1 32 bit (sometimes 64 bit); FPC3,2,2

 

TinyPortal © 2005-2018