module TapFilters

# 1nd order
p = [0.037659  0.249153  0.426375  0.249153  0.037659]
d1 =[0.109604  0.276691  0.000000 -0.276691 -0.109604]
dx = p'*d1
dy = d1'*p

# 2nd order
p  = [0.030320  0.249724  0.439911  0.249724  0.030320]
d1 = [0.104550  0.292315  0.000000 -0.292315 -0.104550]
d2 = [0.232905  0.002668 -0.471147  0.002668  0.232905]
dxx = p'*d2
dyy = d2'*p
dxy = p'*d1*d1'*p

export dx, dy, dxx, dyy, dxy

end
