MathGroup Archive 1994

[Date Index] [Thread Index] [Author Index]

Search the Archive

help


> 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.





  • Prev by Date: New math.el
  • Next by Date: re: eval differential expressions
  • Previous by thread: help
  • Next by thread: Re: help