block matrices

Gideon Simpson grs2103 at columbia.edu
Sat Jan 5 19:54:12 CST 2008


Suppose I have two sparse matrices A and Q and now I want to  
construct a block diagonal matrix, K,

K = 	[A,0]
	[0,Q]

What is the "right" way to do this is?


-Gideon Simpson
  Department of Applied Physics and Applied Mathematics
  Columbia University


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20080105/2d39b21d/attachment.htm>


More information about the petsc-users mailing list