Mercurial > hg > ishara
view general/numerical/scalar/hshrink.m @ 29:61921dceded1
More documentation on type system.
author | samer |
---|---|
date | Sat, 19 Jan 2013 17:56:21 +0000 |
parents | db7f4afd27c5 |
children |
line wrap: on
line source
% shrink - Shrinkage towards zero % % shrink :: real, [Size] -> [Size]. function y=shrink(th,x) y=x; y(y<th)=0;