Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Math library for Free Basic
#31
Quote:/me smells the possibility for a free (as in mind and beer) competitor for programms like MathLab or Derive

There exist free MatLab clones, e. g. SciLab (http://scilabsoft.inria.fr/)
ean Debord
----------------
Math library for FreeBasic:
http://www.unilim.fr/pages_perso/jean.de...fbmath.zip
Reply
#32
Quote:
Quote:/me smells the possibility for a free (as in mind and beer) competitor for programms like MathLab or Derive

There exist free MatLab clones, e. g. SciLab (http://scilabsoft.inria.fr/)

I meant those that you trew something like f(x)=4x+(3x^3)-(16x^5) at the head and the programm does the full derive.
color=red]Look at you, Hacker. A pathetic creature of meat and bone, panting and sweating as you run through my corridors. How can you challenge a perfect, immortal machine?" - Shodan, AI at Citadel Station orbiting Earth[/color]
Reply
#33
Have you looked into the possiblity of adding a Math Parser to the library. That would be very useful.
Reply
#34
Quote:I meant those that you trew something like f(x)=4x+(3x^3)-(16x^5) at the head and the programm does the full derive.

I use Maple for symbolic calculations.

There are free softwares for this too, e. g. JACAL (http://www-swiss.ai.mit.edu/~jaffer/JACAL.html), but I have not tested them.

However, my library is for numerical calculations. My goal is to provide a free alternative to the 'Numerical Recipes' software
which is not free, and for which the Basic and Pascal versions are no longer developed.

Quote:Have you looked into the possiblity of adding a Math Parser to the library. That would be very useful.

Yes, but I need a model. I am not skilled enough to code it myself. If someone wants to contribute... :wink:
ean Debord
----------------
Math library for FreeBasic:
http://www.unilim.fr/pages_perso/jean.de...fbmath.zip
Reply
#35
The library has been updated:

* Added a complex type
* Added several functions for finding roots of polynomial

More matrix functions (eigenvalues/eigenvectors) will be added soon.
ean Debord
----------------
Math library for FreeBasic:
http://www.unilim.fr/pages_perso/jean.de...fbmath.zip
Reply
#36
What about making GSL available to FreeBasic,


http://sources.redhat.com/gsl/

...
Reply
#37
Its not a bad idea... I've looked at calling some other math packs from FB as well...just not that hard :-)
Reply
#38
Usually I prefer translating Fortran routines. I am not familiar with C.
ean Debord
----------------
Math library for FreeBasic:
http://www.unilim.fr/pages_perso/jean.de...fbmath.zip
Reply
#39
Yes, but you wouldn't have to translate the code, just call the libraries. http://www.netlib.org/ has several good, multi-platform libraries.

I haven't tried calling libraries in FB yet, and I understand the desire to translate (and the preference of ForTran over C) but this might be an avenue to explore.
Reply
#40
I was under the impression that all that needs to be translated for FB are the header files. GSL is multi-platform coded in ansi C. I made the suggestion because this library has been in development for years as a free replacement for Numerical Recipes. Further it comes with a comprehensive manual.

That said, it may be GPL'ed rather than using LGPL.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)