Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Debracketing array symbols

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92179] Re: Debracketing array symbols
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Mon, 22 Sep 2008 07:08:13 -0400 (EDT)
  • Organization: University of Bergen
  • References: <gb2e6u$bp0$1@smc.vnet.net> <gb7o9j$ndp$1@smc.vnet.net>

carlos at colorado.edu wrote:
> 
> A related question   A={A[1], A[2], A[3], A[4]}  produces infinite
> recursion in 4.2 and 5.2 (NB - I prepare all coursework with
> 4.2 for compatibility with some remote students in industry)
>  Is the symbol A used on the RHS?

Yes, it is.  A[1] is not a symbol.  It is a compound expression with 
head A.  The heads of expression are evaluated too.

> {A[1], A[2], A[3], A[4]} //FullForm   just shows
> List[A[1],A[2],A[3],A[4]]  which does not tell me much.
> Where is the role of A in the RHS explained in the documentation?.
> 


  • Prev by Date: Re: hi,friends(8)
  • Next by Date: Re: Non-transparent wireframe in Plot3D
  • Previous by thread: Re: Debracketing array symbols
  • Next by thread: Re: Re: Debracketing array symbols