I have a matrix K in Petsc. I want to delete the $n^{th}$ row and $n^{th}$ column of this matrix and restructure it. I am a beginner in Petsc. Can you suggest how to do it?
Example: I have matrix K of size 100 x 100. I want to remove the 10th row and 10th column so that the remaining restructured matrix is 99 x 99.