)
>
> (defn h-mean [coll] ;; Michael Kohl's function
> (/ (count coll) (reduce + (map / coll))))
>
>
>
>
> On Feb 25, 9:07 am, Aviad Reich wrote:
> > here is the final version of the implementation.
> http://gist.github.com/313558
> >
> > again, any t
here is the final version of the implementation.
http://gist.github.com/313558
again, any thought would be great.
Aviad.
On 22 February 2010 22:11, Aviad Reich wrote:
> I don't mean to signal the end of this thread, but I just wanted to thank
> you all for you replies.
> I w
I don't mean to signal the end of this thread, but I just wanted to thank
you all for you replies.
I will update the draft (and add Colin and Mikel's infinite seq code as
well) possible in a day or two (no at home till then), and post the new code
before posting to Rosetta.
Cheers,
Aviad
On 22 F
Hi everyone,
being a newb to clojure, my ability to contribute to is still limited.
However, I thought I'll try starting with something simple.
http://rosettacode.org/wiki/Averages/Pythagorean_means seems straightforward
enough, but since it's a comparative site, and implementations should be as
ld be missing something.
>
> (William Hidden)
>
>
> On Feb 10, 10:13 am, Aviad Reich wrote:
> > thank you.
> > I have "-server" and "-Xmx1024m" set in my 'swank-clojure-extra-vm-args,
> but
> > the problem remains.
> >
> > A
אביעד
On 10 February 2010 19:54, Aviad Reich wrote:
> Thank you all!
>
> your advice were indeed very helpful!
>
> I eventually solved it using memoization. and indeed keeping only 3 values
> in memory.
> (http://clojure-euler.wikispaces.com/Problem+014 - lxmonk, i
ealing with a problems that involve a
> lot of memory.
>
> - Greg
>
> On Feb 10, 2010, at 10:13 AM, Aviad Reich wrote:
>
> thank you.
> I have "-server" and "-Xmx1024m" set in my 'swank-clojure-extra-vm-args,
> but the problem remains.
>
> Av
thank you.
I have "-server" and "-Xmx1024m" set in my 'swank-clojure-extra-vm-args, but
the problem remains.
Aviad
On 10 February 2010 15:57, Joop Kiefte wrote:
> (Disclaimer: never tried myself)
> http://hausheer.osola.com/docs/5
>
> 2010/2/10 Aviad R
>
> Hi all.
>>
>> I'm trying to learn c