MathGroup Archive 2004

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

Search the Archive

Re: newbie myHead question


"János" wrote

>m = {{a, b}, {a, b}, {a, b}}
>n = Apply[myHead, m]
>Transpose[n]
    >Transpose[myHead[{a, b}, {a, b}, {a, b}]]

>I need>
    >myHead[{a,a,a},{b,b,b}]

myHead@@Transpose[List@@n]

cheers,
Peltio
Invalid mail in reply-to. Crafty demunging required to mail me.



  • Prev by Date: Re: newbie myHead question
  • Next by Date: Re: newbie Comment question
  • Previous by thread: Re: newbie myHead question
  • Next by thread: Re: newbie myHead question