Download this file

2 lines (2 with data), 42 Bytes

1
2
function [y] = precondDiag(r,D)
y = D.*r;