These include elementwise +, -, * and /, the same operations involving an array and a scalar, minimum, maximum and range (the last one is faster then the two of them called separately), and also general functions to implement other, similar functions, including array-reduce, array-map, etc.
It also has a macro for `vectorizing' operations:
(let ((a #(1d0 2d0 3d0))
(b #(4d0 5d0 6d0))
(c 0.25d0))
(vectorize (a b)
(+ a b c 0.25))) ; => #(5.5d0 7.5d0 9.5d0)
Formerly, many functions in this package were part of FFA, but were split to eliminate the dependency on CFFI. Nevertheless, functions in this package still strive to create arrays that are `foreign-friendly', meaning that they can be efficiently mapped to a pointer location in implementations that support this. You need the FFA package for this.
The package is asdf-installable. The link to the git repository is available from my homepage.
Download ASDF package from http://www.princeton.edu/~tpapp/software/array-operations.tar.gz
This page is linked from: ffa
CLiki pages can be edited by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively