Vector math

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Tue Nov 14 09:47:59 UTC 2000


On Mon, 13 Nov 2000, Edward Cottongim wrote:

> I was wondering if someone has already implemented some facilities for
> vector math in Squeak yet. I am having fun doing some DSP work in
> Squeak, and it would benefit from vector-based math since the
> operations are highly repetitive and list oriented. Such a library
> might even benefit from the SIMD extensions popping up on some
> processors. While using a generalized vector system isn't the
> slap-bang fastest solution I could pick, I'd gladly pick the reuse and
> readability over a modest speed increase.

Check out class FloatArray. You could add more functions to
FloatArrayPlugin if needed.

-- Bert





More information about the Squeak-dev mailing list