When is a List not a List?
- To: mathgroup at smc.vnet.net
- Subject: [mg90947] When is a List not a List?
- From: AES <siegman at stanford.edu>
- Date: Thu, 31 Jul 2008 02:56:41 -0400 (EDT)
- Organization: Stanford University
g[x_, n_] := x^n FullForm[Table[g[x, n], {n, 1, 2}]] FullForm[{g[x, 1], g[x, 2]}] Plot[{g[x, 1], g[x, 2]}, {x, 0, 1}, PlotStyle -> {Red, Blue}] Plot[Table[g[x, n], {n, 1, 2}], {x, 0, 1}, PlotStyle -> {Red, Blue}] The FullForm[]s are identical. One Plot[] has red and blue curves; the other has two blue curves. Quirky!
- Follow-Ups:
- Re: When is a List not a List?
- From: Andrzej Kozlowski <akoz@mimuw.edu.pl>
- Re: When is a List not a List?