MathGroup Archive 1997

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

Search the Archive

Joining matrices

  • To: mathgroup at smc.vnet.net
  • Subject: [mg5738] Joining matrices
  • From: Jean-Francois Alcover <70763.411 at compuserve.com>
  • Date: Sat, 11 Jan 1997 14:29:22 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

i have to join 2 or more matrices line by line
for example : joinmat[{{{1,2},{3,4}},{{10,20},{30,40}}}] 
                 --> {{1,2,10,20},{3,4,30,40}}

i have tried Transpose [Flatten[Transpose /@ ListOfMatrices,1]]
but it seems rather slow

can anyone help me with a faster solution ?


  • Prev by Date: Re: Noah's List
  • Next by Date: Overloading mathematica built in functions
  • Previous by thread: Re: "hidden" definitions
  • Next by thread: Re: Joining matrices