MathGroup Archive 1997

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

Search the Archive

Joining matrices

  • To: mathgroup at smc.vnet.net
  • Subject: [mg5761] [mg5738] Joining matrices
  • From: Jean-Francois Alcover <70763.411 at compuserve.com>
  • Date: Tue, 14 Jan 1997 10:42:34 -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 please help me with a faster solution ?



  • Prev by Date: Question: Purchase of Mathematica
  • Next by Date: Re: Overloading mathematica built in functions
  • Previous by thread: Re: Joining matrices
  • Next by thread: Overloading mathematica built in functions