view printExpr.m @ 917:878652b22157 feature/timesteppers

Make time.rk.rungekutta return stage approximations and stage rates in addition to the solution after one time step.
author Martin Almquist <malmquist@stanford.edu>
date Mon, 26 Nov 2018 16:12:27 -0800
parents 54d3ab296ba0
children
line wrap: on
line source

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