MathGroup Archive 2003

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

Search the Archive

Re: Usage of "//" Operator

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45265] Re: Usage of "//" Operator
  • From: Nevin Kapur <nkapur at cs.caltech.edu>
  • Date: Wed, 24 Dec 2003 17:42:20 -0500 (EST)
  • Organization: Computer Science, Caltech
  • References: <bsbmmj$lqc$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Harold.Noffke at wpafb.af.mil (Harold Noffke) writes:

>     [2]  tb = Table[0, {i, 1, 10}, {j, 1, 10}] // MatrixForm //
> Extract[<?>, {1}]
>
> This does not work at all, no matter what I use to replace the "<?>",
> which is just my ad-hoc symbol for, "I don't know what to put here."

Use a anonymous (pure) function:

tb = Table[0, {i, 1, 10}, {j, 10, 10}] // MatrixForm // Extract[#, {1}]&

-Nevin


  • Prev by Date: Re: How to copy pattern from one expression to another?
  • Next by Date: Re: How to copy pattern from one expression to another?
  • Previous by thread: Usage of "//" Operator
  • Next by thread: Re: Usage of "//" Operator