[fpc-pascal] Optimized matrix multiplication functions for pascal?
Honza
befelemepeseveze at gmail.com
Sat Oct 9 15:25:59 CEST 2010
2010/10/9 Bo Berglund <bo.berglund at gmail.com>:
> So I need to get hold of two Delphi functions:
>
> function matmul(X, Y: array of double): array of double;
> and
> function transpose(X: array of double): array of double;
>
> Where can I find such functions?
> I am not a matematician myself so I don't know what these
> functions really do...
The machinery is depicted e.g. here:
http://en.wikipedia.org/wiki/Matrix_multiplication
http://en.wikipedia.org/wiki/Matrix_transpose
IMO it's not really tough to implement them in FPC.
--
bflm
freepascal-bits.blogspot.com
More information about the fpc-pascal
mailing list