view kroneckerDelta.m @ 1299:73e52c74baac feature/boundary_optimized_grids

Closed branch feature/boundary_optimized_grids
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Wed, 08 Jul 2020 18:20:57 +0200
parents b189bc409cdb
children
line wrap: on
line source

function d = kroneckerDelta(i,j)

d = 0;
if i==j
	d = 1;
end