vprint   xtlang


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

Implementation

(bind-func vprint
  "print a packed double* buffer"
  (lambda (buf:double* len ncols)
    (doloop (i len)
      (printf "buf[%. 3lld] = %.4f " i (pref buf i))
      (if (= (% i ncols) (- ncols 1))
          (println)))
    (println)))


Back to Index

Similar Entries

  • Vprint    xtlang
  • vprint    xtlang
  • vprint    xtlang
  • vprint    xtlang
  • vprint    xtlang
  • vprint    xtlang
  • vprint    xtlang
  • vprint    xtlang