MathGroup Archive 2011

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

Search the Archive

Re: Postfix and options

  • To: mathgroup at smc.vnet.net
  • Subject: [mg115310] Re: Postfix and options
  • From: telefunkenvf14 <rgorka at gmail.com>
  • Date: Fri, 7 Jan 2011 04:09:53 -0500 (EST)
  • References: <ig3pmr$jiu$1@smc.vnet.net>

On Jan 6, 1:07 am, Themis Matsoukas <tmatsou... at me.com> wrote:
> ?Is it possible to  specify TableHeadings in
>
> {{1,2},{3,4}}//TableForm
>
> More generally, can one specify options for functions in postfix form?
>
> Thanks
>
> Themis

Don't think so (at least I've never seen it done). Postfix is for
applying functions that are 'afterthoughts'.

That said, I tried the following idea, which still prints a table but
*fails* to incorporate the options:

{{1, 2}, {3, 4}} // Hold[TableForm[#, TableHeadings -> {"x", "y"}]] &
Release[%]

-RG


  • Prev by Date: Mathematica code for change of variable
  • Next by Date: Plotting a graph with one X-axis and two Y-axes
  • Previous by thread: Re: Postfix and options
  • Next by thread: Re: Postfix and options