Mercurial > repos > public > sbplib
view default_struct.m @ 751:005a8d071da3 feature/interpolation
Replace AWW interpolation operator coefficients by new that were generated symbolically
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Tue, 22 May 2018 13:29:47 -0700 |
parents | 46256fffa329 |
children |
line wrap: on
line source
function default_struct(s, val) if evalin('caller',sprintf('~exist(''%s'',''var'')',s)) given = []; else given = evalin('caller', s); end final = copyWithDefault(given, val); assignin('caller', s, final); end