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?.
>