Mercurial > hg > ishara
view arrows/@asampler/construct.m @ 0:672052bd81f8
Initial partial import.
author | samer |
---|---|
date | Wed, 19 Dec 2012 22:38:28 +0000 |
parents | |
children |
line wrap: on
line source
function u=construct(s,sizes_in) u=mkunit(s); sz=s.sz; fn=s.fn; u.sizes_out = guess_sizes(fn,sz); u.process = @proc; function out=proc, out=fn(sz); end end function sz_out=guess_sizes(fn,sz) out = fn(sz); sz_out = {size(out)}; end