view show.m @ 1217:a3d9567d9004 feature/d2_compatible

Improve efficiency of construction of D2(b) by precomputing as much as possible
author Martin Almquist <malmquist@stanford.edu>
date Wed, 13 Nov 2019 14:54:22 -0800
parents 360280a55ae8
children
line wrap: on
line source

function show(str)
    assertType(str, {'string', 'char'})
    val = evalin('caller',str);
    fprintf('%s => %s\n\n', str, toString(val));
end