Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-12

Numerics and graphics in Free Pascal

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Karsten Rothemund

Hello list,

I am new to the list and read it for nearly a week now. So it may be the topic is already answered. In this case, I say sorry.

I want to start programming in Free Pascal using Lazarus (installed from the Debian Squeeze) because I want to do programming on my Debian system but I also want use the programs on Windows too. My interests are related to numerics and scientific calculations.

There are two things I haven't found in the documentation up to now:

1. is there a library to easy handle matrices or do other numerical calculations like the numpy package does for python? (multiply, solve Ax=b, numerical integration)

2. display graphic representations of data (ploting functions or points in coordinate system, contour plots, 3D plots, etc; example here again my be python multiplot package)? I know there is something like drawing graphic primitives (lines, points, arcs ....) which of course can be used to code something.

But I don't what to invent the wheel again ;)

Thank you for your answers

Karsten

Karsten Rothemund PGP-Key: 0x8D210F3E /"\ Fingerprint: EA42 2654 612F C35B 4030 \ / 4A81 95F0 9FBB 8D21 0F3E \ ASCII Ribbon Campaign wget http://www.photor.de/PHOTOR.ASC / \ Against HTML Mail and News
Paulo Malheiros
to Karsten Rothemund
Karsten Rothemund wrote 15 lines
Hello list, I am new to the list and read it for nearly a week now. So it may be the topic is already answered. In this case, I say sorry. I want to start programming in Free Pascal using Lazarus (installed from the Debian Squeeze) because I want to do programming on my Debian system but I also want use the programs on Windows too. My interests are related to numerics and scientific calculations. There are two things I haven't found in the documentation up to now: 1. is there a library to easy handle matrices or do other numerical calculations like the numpy package does for python? (multiply, solve Ax=b, numerical integration)

To handle matrices I use DynMatrix
http://paginas.fe.up.pt/~paco/pmwiki/index.php?n=DynMatrix.DynMatrix

Show quoted text 6 lines
2. display graphic representations of data (ploting functions or points in coordinate system, contour plots, 3D plots, etc; example here again my be python multiplot package)? I know there is something like drawing graphic primitives (lines, points, arcs ....) which of course can be used to code something.

Lazarus has TAChart component for 2D graphs
http://wiki.lazarus.freepascal.org/TAChart

I've used GLScene for some 3D plotting
http://wiki.lazarus.freepascal.org/GLScene

You should try the Lazarus mailing list for extra help.

Paulo M.

Show quoted text 10 lines
But I don't what to invent the wheel again ;) Thank you for your answers Karsten _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Paulo Malheiros
to Paulo Malheiros
Paulo Malheiros wrote 19 lines
On Fri, 2010-12-10 at 22:33 +0100, Karsten Rothemund wrote: > Hello list, > > I am new to the list and read it for nearly a week now. So it may be the > topic is already answered. In this case, I say sorry. > > I want to start programming in Free Pascal using Lazarus (installed from > the Debian Squeeze) because I want to do programming on my Debian system > but I also want use the programs on Windows too. My interests are > related to numerics and scientific calculations. > > There are two things I haven't found in the documentation up to now: > > 1. is there a library to easy handle matrices or do other numerical > calculations like the numpy package does for python? (multiply, solve > Ax=b, numerical integration) To handle matrices I use DynMatrix http://paginas.fe.up.pt/~paco/pmwiki/index.php?n=DynMatrix.DynMatrix

ALGLIB is a cross-platform numerical analysis and data processing library. http://www.alglib.net/

Show quoted text 33 lines
> > 2. display graphic representations of data (ploting functions or points > in coordinate system, contour plots, 3D plots, etc; example here again > my be python multiplot package)? I know there is something like drawing > graphic primitives (lines, points, arcs ....) which of course can be used > to code something. Lazarus has TAChart component for 2D graphs http://wiki.lazarus.freepascal.org/TAChart I've used GLScene for some 3D plotting http://wiki.lazarus.freepascal.org/GLScene You should try the Lazarus mailing list for extra help. Paulo M. > > But I don't what to invent the wheel again ;) > > Thank you for your answers > > Karsten > > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal