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

BlockDiagonal

  • To: mathgroup at smc.vnet.net
  • Subject: [mg52076] BlockDiagonal
  • From: Blandine Courcot <courcot at spms.ecp.fr>
  • Date: Tue, 9 Nov 2004 01:38:03 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hello!

I am using BlockDiagonal and it works perfectly with
for example two squared matrices but I have some problem when I
want to use it with Table. Is it possible to do something
like this? 

SuperPop=Flatten[Table[BlockDiagonal[{SousPop[[k]][[j]]}]
//MatrixForm,{k,1,2},{j,1,2}],1];

In order to create a matrix SuperPop from
here 4 submatrices SousPop[[1]] [[1]], SousPop[[1]] [[2]] etc...

When I try this I still have my submatrices but I don't have the final
matrix SuperPop with the block on the diagonal. 
Is there a better (and clever) way to do this?

Thank you in advance,


Blandine.


  • Prev by Date: Converting Dates to Mathematica Format
  • Next by Date: newbie question DSolve
  • Previous by thread: Re: Converting Dates to Mathematica Format
  • Next by thread: newbie question DSolve