help
- To: mathgroup at yoda.physics.unc.edu
- Subject: help
- From: yoda at ele.crl.melco.co.jp (Yoda)
- Date: Wed, 22 Jun 94 01:54:58 JST
> From: Jesus ROJO <jesroj at wmatem.eis.uva.es>
> Date: Fri, 17 Jun 94 12:18:03 PST
>
> Hello:
>
> I have a `Module' of the following type:
>
> function[x_Real,y_Real]:=
> Module[{z,t,aa,bb,cc,...},
> aa=2*Pi*x-y*3.12;
> bb=x-y;
> ...
> ]
>
> (it is only an example).
> I'm not interested in any kind of formal computation, but only in
> numerical computations, much faster.
If there are no list-related expressions, you can use Compile--
like compiled_function=Compile[{x,y},Block[{z,t,aa,bb,cc,...},
aa=...;
bb=x-y;
....
]
]
I also assume that there are no special functions that cannot
be compiled, like Bessel, Eliptic, etc.
Hope this helps.