RE: UnTableForming a TableFormed Table?
- To: mathgroup at smc.vnet.net
- Subject: [mg79051] RE: [mg79023] UnTableForming a TableFormed Table?
- From: "David Annetts" <davidannetts at aapt.net.au>
- Date: Tue, 17 Jul 2007 03:19:53 -0400 (EDT)
- References: <200707160613.CAA24534@smc.vnet.net>
Hi Anthony,
> 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 sourcthonye table?
>
> myTableS ??=?? UnTableForm[ myTableF ]
If we define
tbl = RandomReal[{-1, 1}, 5]
Then create a formatted object using
fmt = TableForm[tbl, TableHeadings -> {Automatic, {"Value"}}]
We can recover the original list using
First@fmt
This works for Matrix & Tensor data as well.
Was this what you were after?
Regards,
Dave.
- References:
- UnTableForming a TableFormed Table?
- From: AES <siegman@stanford.edu>
- UnTableForming a TableFormed Table?