Is the small matrix dense? Then you can use MatSetValues. If the small matrix is sparse, you can assemble it with larger dimension (empty rows and columns) and use MatAXPY.
김성익 <ksi2...@gmail.com> writes: > Hello, > > > I want to put small matrix to large matrix. > The schematic of operation is as below. > [image: image.png] > Is there any function for put small matrix to large matrix at once? > > Thanks, > Hyung Kim