MathGroup Archive 2010

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

Search the Archive

Re: How to do numerical computations?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108814] Re: How to do numerical computations?
  • From: dh <dh at metrohm.com>
  • Date: Thu, 1 Apr 2010 06:02:10 -0500 (EST)
  • References: <hov834$94q$1@smc.vnet.net>

Hi,as you do not give an example I can not be sure. But it sounds like 
the ever recurring problem of a function being evaluated with symbolic 
arguments. To ensure that the computations are done numerically, you may 
e.g. define:
f[x_?NumericQ]:=...
Daniel


On 31.03.2010 12:27, bagarti wrote:
> Hello,
> Any body please help me,
>
> I have written some mathematica code which contains some complicated functions.The functions involve integrations and iterations in the intermediate steps. When I run the code it takes a hell lot of time. I do not know what mathematica is doing inside, actually I have another code in fortran that takes only a few minutes to do all the calculations but there are other problems like it dosent work for some parameter range.
>
> Is there a method in which I can ask mathematica to give me only the numerical values just like any executable program does.
>
> Thanks.
> TaB
>


-- 

Daniel Huber
Metrohm Ltd.
Oberdorfstr. 68
CH-9100 Herisau
Tel. +41 71 353 8585, Fax +41 71 353 8907
E-Mail:<mailto:dh at metrohm.com>
Internet:<http://www.metrohm.com>



  • Prev by Date: Combinatorica NetworkFlow: Does it work?
  • Next by Date: Re: How to do numerical computations?
  • Previous by thread: Re: How to do numerical computations?
  • Next by thread: Re: How to do numerical computations?