Re: Mathematica 7 compares to other languages

2008-12-11 Thread the . brown . dragon . blog
On Dec 11, 4:53 pm, "William James" <[EMAIL PROTECTED]> wrote: > William James wrote: > > John W Kennedy wrote: > > > > Xah Lee wrote: > > > > In lisp, python, perl, etc, you'll have 10 or so lines. In C or > > > > Java, you'll have 50 or hundreds lines. > > > > Java: > > > > static float[] normal(

Re: Mathematica 7 compares to other languages

2008-12-11 Thread the . brown . dragon . blog
On Dec 11, 7:50 pm, [EMAIL PROTECTED] wrote: > On Dec 11, 4:53 pm, "William James" <[EMAIL PROTECTED]> wrote: > > > > > William James wrote: > > > John W Kennedy wrote: > > > > > Xah Lee wrote: > > > > > In lisp, python, perl, etc, you'll have 10 or so lines. In C or > > > > > Java, you'll have 50

Re: Mathematica 7 compares to other languages

2008-12-14 Thread the . brown . dragon . blog
On Dec 12, 12:12 am, Xah Lee wrote: > 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 mak