Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15035
| From | John Doty <noqsiaerospace@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: What is f[1]? Advanced question |
| Date | 2013-06-28 07:48 +0000 |
| Message-ID | <kqjf44$9eq$1@smc.vnet.net> (permalink) |
| References | <20130626011408.DC7E86A2B@smc.vnet.net> <kqdshl$n34$1@smc.vnet.net> |
| Organization | Time-Warner Telecom |
On Thursday, June 27, 2013 4:25:04 AM UTC-6, amannucci wrote:
> Thanks. This is very helpful. I remain puzzled by this:
>
>
>
> u // FullForm
>
> FullForm[Symbol["u"]]
>
> FullForm[Unevaluated[Symbol["u"]]
>
> Head[u]
>
>
>
> FullForm[{1, 2, 3}]
>
> Head[{1, 2, 3}]
>
>
>
> In other words, Head and FullForm seem consist for the list, and inconsistent for the variable u. u's full form is just, literally "u", not Symbol["u"]. But the list's FullForm starts with "List". Head of Symbol["u"] is not Symbol, but "u". What gives?
If FullForm did what you expected, its output would be infinite, because every expression in Mathematica has a head. Remember that the head of an expression is itself an (arbitrary!) expression. So, FullForm "bottoms out" when further expansion would expose an elementary head like Symbol or Integer.
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: What is f[1]? Advanced question Bob Hanlon <hanlonr357@gmail.com> - 2013-06-26 05:00 +0000
Re: What is f[1]? Advanced question amannucci <Anthony.J.Mannucci@jpl.nasa.gov> - 2013-06-27 10:25 +0000
Re: What is f[1]? Advanced question David Bailey <dave@removedbailey.co.uk> - 2013-06-28 07:48 +0000
Re: What is f[1]? Advanced question John Doty <noqsiaerospace@gmail.com> - 2013-06-28 07:48 +0000
csiph-web