On Dec 11, 6:50 am, the.brown.dragon.b...@gmail.com wrote:
;; Chicken Scheme. By the.brown.dragon...@gmail.com
(require 'srfi-1)
(define (normalize vec)
  (map (cute / <> (sqrt (reduce + 0 (map (cute expt <> 2) vec))))
vec))

Is it possible to make it work in scsh? (i'm running scsh 0.6.4, and
don't know Scheme lisp well)

  Xah
∑ http://xahlee.org/

☄
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to