view gaussian.m @ 1066:d64062bed5fb feature/laplace_curvilinear_test

Clean up getBoundarOperator/Quadrature as was done on feature/getBoundaryOp. Temporarily re-add lambda so that old interface method works.
author Martin Almquist <malmquist@stanford.edu>
date Tue, 22 Jan 2019 12:53:13 -0800
parents 6514c3b94721
children
line wrap: on
line source

function z = gaussian(x,x0,d)
    z = exp(-sum((x-x0).^2,2)/d^2);
end