 
 
 
 
 
 
RE: RE: Re: Is it possible to access internal variables?
- To: mathgroup at smc.vnet.net
- Subject: [mg34742] RE: [mg34725] RE: [mg34709] Re: [mg34705] Is it possible to access internal variables?
- From: "DrBob" <majort at cox-internet.com>
- Date: Tue, 4 Jun 2002 03:41:56 -0400 (EDT)
- Reply-to: <drbob at bigfoot.com>
- Sender: owner-wri-mathgroup at wolfram.com
Bob,
Thanks!  My first attempt was evidently too simplistic.  But look at the
difference between these two output forms:
tbl = Table[Random[], {3}, {4}]
NumberForm[TableForm[tbl], {12, 11}]
TableForm[NumberForm[tbl, {12, 11}]]
Is that what you'd expect?  (I'm seeing brackets, etc. displayed in the
second version.)
Bobby
-----Original Message-----
From: BobHanlon at aol.com [mailto:BobHanlon at aol.com] 
To: mathgroup at smc.vnet.net
Subject: [mg34742] Re: [mg34725] RE: [mg34709] Re: [mg34705] Is it possible to
access internal variables?
In a message dated 6/3/02 3:12:04 AM, majort at cox-internet.com writes:
>ODDLY ENOUGH, when I tried to use NumberForm within TableForm, the
>result didn't display as a table, so I don't know how to show different
>columns of the table at different display precisions.
>
>QUESTION: Does anybody know how to do that?
TableForm[
  Map[
    NumberForm[#, {4, 3},
        NumberPadding->{"", "0"}]&,
 
    Table[Random[], {3}, {4}], {2}],
 
  TableHeadings->{Automatic, Automatic}]
TableForm[
  Table[
    NumberForm[
      Random[], {5, n},
      NumberPadding->{"", "0"}],
 
    {3}, {n, 4}],
  TableHeadings->{Automatic, Automatic}]
Bob Hanlon
Chantilly, VA  USA

