2 implementations of vcopy_pack:
#1
/digego/extempore/tree/v0.8.9/libs/core/math.xtm ·
#2
/digego/extempore/tree/v0.8.9/libs/core/math.xtm
(bind-func vcopy_pack
"take a sparse double* buffer and copy it into a packed representation"
(lambda (src:double* dest:double* stride neighbors srclen)
(doloop (i srclen)
(doloop (j neighbors)
(pset! dest (+ (* neighbors i) j) (pref src (+ (* stride i) j)))))))