Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1994
*January
*February
*March
*April
*May
*June
*July
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1994

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

Search the Archive

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.





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