view printExpr.m @ 754:5264ce57b573 feature/d1_staggered

Bugfix diracDiscr to make it work for grids that are non-equidistant near boundaries.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 15 Jun 2018 14:01:13 -0700
parents 54d3ab296ba0
children
line wrap: on
line source

function printExpr(expr)
    result = evalin('caller',expr);
    fprintf('%s => %s\n', expr, toString(result));
end