Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: newbie myHead question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg47036] Re: newbie myHead question
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Mon, 22 Mar 2004 05:18:47 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

On 3/20/04 at 3:50 AM, janos.lobb at yale.edu (János) wrote:

>I have

>m = {{a, b}, {a, b}, {a, b}}

>When I apply Transpose to it, I will have

>Transpose[m]

>{{a, a, a}, {b, b, b}}

<snip>

>What should I do to get myHead[{a,a,a},{b,b,b}] ?

myHead[Sequence@@Transform[m]]

will do what you want.
--
To reply via email subtract one hundred and four


  • Prev by Date: number of solution...
  • Next by Date: Re: newbie myHead question
  • Previous by thread: Re: newbie myHead question
  • Next by thread: Re: newbie myHead question