Marius, ________________________________ Ok I see, it is not so important I was just wondering. Presently I only need it for dense matrices, fow now I am just using MatDenseGetArray<https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatDenseGetArray.html> on both matrices and multiply both arrays pointwise, which is ok I guess. For non-dense matrices it may be more complicated.
This is a good approach for sequential and parallel MatDense matrices. Hong Von: "Zhang, Hong" <[email protected]> An: "Marius Buerkle" <[email protected]>, "PETSc users list" <[email protected]> Betreff: Re: [petsc-users] componentwise matrix multiplication Marius, No. You may write one yourself. Let us know what matrix format do you have. We'll make suggestion to you. Hong ________________________________ From: petsc-users <[email protected]> on behalf of Marius Buerkle <[email protected]> Sent: Monday, August 10, 2020 7:50 PM To: PETSc users list <[email protected]> Subject: [petsc-users] componentwise matrix multiplication Hi, Is there a componentwise matrix multiplication, similar to VecPointwiseMult ? Best, Marius
