block matrices

Gideon Simpson grs2103 at
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]

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: <>

More information about the petsc-users mailing list