|
[Date Index]
[Thread Index]
[Author Index]
question for compiling a function
- To: mathgroup at smc.vnet.net
- Subject: [mg113123] question for compiling a function
- From: Ramiro <ramiro.barrantes at gmail.com>
- Date: Wed, 13 Oct 2010 23:27:16 -0400 (EDT)
Hello,
I am doing some MCMC on mathematica and performance is becoming an
issue. So the low hanging fruit would be compiling some functions.
Below is an portion of the key one:
example[n_, \[Alpha]_] :=
Gamma[Plus @@ n + \[Alpha]]/Times @@ (Gamma[# + 1] & /@ n)
"n" is a vector of positive reals. However, I don't know how big it
is, it will usually be just 4 o 5 numbers but could be anything from 1
to 200 size vector.
Any suggestions?
Thanks in advance,
Ramiro
Prev by Date:
Is there any available implementation of Prim's algorithm?
Next by Date:
A Bug in symbolic summation?
Previous by thread:
Is there any available implementation of Prim's algorithm?
Next by thread:
Re: question for compiling a function
|