Re: Power function

2016-02-03 Thread Mars0i
https://github.com/clojure/math.numeric-tower: - (expt x y) - x to the yth power -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderat

Re: Power function

2016-02-02 Thread Jon
Thanks, all of you! I had totally forgotten about this topic. After all, it's almost 8 years since I posted my question to this group. ;-) tirsdag 2. februar 2016 09.24.34 UTC+1 skrev Mikera følgende: > > There is a `pow` function in core.matrix, that computes powers over whole > arrays at the s

Re: Power function

2016-02-02 Thread Mikera
There is a `pow` function in core.matrix, that computes powers over whole arrays at the same time. Tests / patches to improve this always welcome. On Tuesday, 3 June 2008 16:55:15 UTC+8, Jon wrote: > > As I could not find a ** function in boot.clj, I wrote this one: > > (defn ** > "nth

Re: Power function

2016-02-01 Thread James Reeves
What power function do you mean? - James On 2 February 2016 at 03:02, Karl Brodowsky wrote: > I think that since it is agreed in many circumstances that 0^0 is 1, I > would make that the default... > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" gr

Re: Power function

2016-02-01 Thread Karl Brodowsky
I think that since it is agreed in many circumstances that 0^0 is 1, I would make that the default... -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are m