vcopy_pack   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/core/math.xtm

Implementation

(bind-func vcopy_pack
  "take a sparse float* buffer and copy it into a packed representation"
  (lambda (src:float* dest:float* stride neighbors srclen)
    (doloop (i srclen)
      (doloop (j neighbors)
        (pset! dest (+ (* neighbors i) j) (pref src (+ (* stride i) j)))))))


Back to Index

Similar Entries

  • Vcopy    xtlang
  • vcopy    xtlang
  • vcopy    xtlang
  • vcopy    xtlang
  • vcopy    xtlang
  • vcopy_pack    xtlang
  • vcopy_unpack    xtlang
  • vcopy_unpack    xtlang