vvsum   xtlang


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

Implementation

(bind-func vvsum
  (let ((i 0))
    (lambda (v1:float* v2:float* len:i64 result:float*)
      (dotimes (i len)
        (pset! result i (+ (pref v1 i) (pref v2 i))))
      void)))


Back to Index

Similar Entries