MathGroup Archive 2007

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

Search the Archive

Re: UnTableForming a TableFormed Table?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg79061] Re: UnTableForming a TableFormed Table?
  • From: Bill Rowe <readnewsciv at sbcglobal.net>
  • Date: Tue, 17 Jul 2007 03:25:04 -0400 (EDT)

On 7/16/07 at 2:13 AM, siegman at stanford.edu (AES) wrote:

>Suppose you create a "source" table in Table form:

>myTableS = Table[ ----- ],

>then create a "formatted" version of it, with TableForm options
>added:

>myTableF = TableForm[ TableS, {tableheadings, tablepacings, etc} ]

>Is there any _simple_ way to "UnTableForm" the formatted table to
>get back to the unformatted source table?

Yes. Simply Apply List and the first element of the resulting
list will be the original unformatted source table. For example,

In[12]:= data = Table[RandomReal[], {3}, {4}];
t = TableForm[data, TableHeadings -> Automatic];
=46irst[List @@ t] == data

Out[14]= True
--
To reply via email subtract one hundred and four


  • Prev by Date: N-dimensional NIntegrate
  • Next by Date: Re: buliding on functions
  • Previous by thread: Re: N-dimensional NIntegrate
  • Next by thread: Re: UnTableForming a TableFormed Table?