MathGroup Archive 2008

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

Search the Archive

Re: FindROot and substitutions

  • To: mathgroup at
  • Subject: [mg89977] Re: FindROot and substitutions
  • From: Bill Rowe <readnews at>
  • Date: Wed, 25 Jun 2008 06:30:36 -0400 (EDT)

On 6/24/08 at 3:20 AM, jeanmarc.gulliet at (Jean-Marc Gulliet)
wrote regarding:

>>>g := x z;
>>----------^ You used a semicolon here, so I suppose that you do not
>>understand the difference between SetDelayed and Set.

>The above expression is not a compound expression.

But it is a compound expression. Specifically, it is the
compound expression

g := x z;Null

which is clearly shown by

In[1]:= FullForm@Hold[g := x z;]

Out[1]//FullForm= \

>SetDelayed does not produce any output.

>Therefore the semicolon is not needed and does not change anything.

>So someone may infer that you do not have a clear idea about about
>the differences between immediate and delayed assignments, which are
>topics of some importance to answer the rest of your original

Further, there is the only the symbol g appears on the left hand
side of the SetDelayed. I cannot think of any reason why Set
would not be preferred here, adding to the impression there is a
lack of understanding of the differences between Set and SetDelayed.

  • Prev by Date: Re: Package File for Different Mathematica Versions
  • Next by Date: Re: FullSimplify fails for very large numbers and powers
  • Previous by thread: Re: FindROot and substitutions
  • Next by thread: Re: solving for 2 angles