Debian Codegraph @

packages/muelu/matlab/tests/JacobiSmooth/getDiag.m

raw
1 %Use getDiag() as "setup" function for MatlabSmoother
2 function D = getDiag(A)
3 D = diag(A);
4 end