[Lazarus] fast mathematical matrix operations
kellingc at cox.net
Mon Jun 8 11:34:28 CEST 2015
Pascal in general hasn't handled math in an effeceint way. Factorial is a prime example. I would assume that even a 2 dimensial matrix bigger than 10x10 would choke most processes.
It sounds like you would need something made for mathmatical processing like fortran or even lisp. However, taking advantage of parallel processing may give you the speed you are looking for.
On Jun 8, 2015 5:20 AM, Michael Schnell <mschnell at lumino.de> wrote:
> On 06/08/2015 10:57 AM, Andrea Mauri wrote:
> > I need code able to perform typical matrix operations (e.g. matrix
> > multiplication, inversion, determinant and so on) as fast as possible
> > since I deal with big matrices (thousands of rows and columns). I need
> > it for both windows and linux (32/64).
> For this it's essential to use the multiple cores the hardware provides.
> So the task needs to be distributed to multiple threads.
> I once drafted a thread pool unit that night be useful for this (but I
> suppose there are other tools that are much more decently tested than
> the one I did).
> In the FPC/Lazarus mailing lists there already were multiple discussions
> on the "parallel loop" issue, but AFAIK, there is no ready-made solution
> available yet.
> Delphi XE claims to provide such support, though.
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
More information about the Lazarus