Re: x=2;Composition[f,FindMinimum][x+1,{x,a}]

• To: mathgroup at smc.vnet.net
• Subject: [mg68342] Re: [mg68282] x=2;Composition[f,FindMinimum][x+1,{x,a}]
• From: "Chris Chiasson" <chris at chiasson.name>
• Date: Tue, 1 Aug 2006 07:00:22 -0400 (EDT)
• References: <200607310745.DAA26874@smc.vnet.net> <44CDF8C9.3070607@wolfram.com>
• Sender: owner-wri-mathgroup at wolfram.com

```The crash confused matters for me. Thank you for clearing that up. Now
that the source is known, perhaps someone could crack the "original"
question I am trying to solve:

x=2;{Composition[Hold][x+1,{x,a}],Composition[Hold,Hold][x+1,{x,a}]}

produces

{Hold[x+1,{x,a}],Hold[Hold[3,{2,a}]]}

Why is it that in Composition[Hold], Composition does not effectively
block the HoldAll attribute of Hold? The same thing happens with
Identity.

On 7/31/06, Carl K. Woll <carlw at wolfram.com> wrote:
> Chris Chiasson wrote:
> > The above command crashes my kernel on Windows XP and Linux. Anybody else?
> >
>
> The crash comes when evaluating
>
> FindMinimum[3,{2,a}]
>
> Presumably you did not intend to evaluate this.
>
> In the development version, the above code does not cause a crash.
>
> Carl Woll
> Wolfram Research
>

--
http://chris.chiasson.name/

```

• Prev by Date: Re: need to make a special function
• Next by Date: Re: need to make a special function
• Previous by thread: Re: x=2;Composition[f,FindMinimum][x+1,{x,a}]
• Next by thread: Re: x=2;Composition[f,FindMinimum][x+1,{x,a}]