|
[Date Index]
[Thread Index]
[Author Index]
Re: Localizaction of variables in Fit..
- To: mathgroup at smc.vnet.net
- Subject: [mg80789] Re: Localizaction of variables in Fit..
- From: Chris Chiasson <chris.chiasson at gmail.com>
- Date: Sat, 1 Sep 2007 00:37:55 -0400 (EDT)
- References: <fb5oi6$8tg$1@smc.twtelecom.net>
On Aug 30, 1:36 am, dh <d... at metrohm.ch> wrote:
> Hello,
>
> does anybody know why functions like e.g. Fit, FindFit.. do not localize
>
> their variables. E.g.
>
> FindFit[Table[2+i,{i,9}],{a+ b x},{a,b},x]
>
> will fail if any of a,b,x has a value. This seems cumbersome and error
>
> prone to me, but maybe there is a reason?
>
> Daniel
probably because of the quite cumbersome behavior of the HoldAll
attribute, which would be necessary to localize the variables
also, it would break existing code
also, despite the fact that it would break existing code:
i would love to see this attribute removed from plot, findminimum, etc
Prev by Date:
Re: ListSurfacePlot3D in Mathematica Version 6
Next by Date:
Re: Re: Sound recorder
Previous by thread:
Localizaction of variables in Fit..
Next by thread:
Graphics text showing through 3D plots
|