[petsc-users] Kronecker product

Jed Brown jed at jedbrown.org
Mon Feb 25 15:41:57 CST 2019


MatCreateMAIJ does that (implicitly).

https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatCreateMAIJ.html

If you want a Kronecker product with a non-identity matrix, this PR may
be of interest.

https://bitbucket.org/petsc/petsc/pull-requests/1334/rmills-mat-kaij/diff

Yuyun Yang via petsc-users <petsc-users at mcs.anl.gov> writes:

> Hello team,
>
> I'd like to ask whether PETSc has a function to compute the Kronecker product of a sparse matrix with an identity matrix? A Google search didn't lead me to a manual page (like most of the other PETSc functions), so I'm wondering if this has been implemented yet.
>
> Thanks very much!
>
> Best,
> Yuyun


More information about the petsc-users mailing list