> Aside from the misuse of 'for' (which then needs to be iterated to > cause the side-effects), what am I missing here? Hints on idiomatic > Clojure as well as my primitives question are most welcome.
Have you tried float-array? Examples: user=> (class (float-array 1)) [F user=> (aget (float-array [1 2 3]) 1) 2.0 user=> (doc float-array) ------------------------- clojure.core/float-array ([size-or-seq] [size init-val-or-seq]) Creates an array of floats Sincerely, Daniel Solano Gómez
pgpV9ByrDHvdT.pgp
Description: PGP signature
