annotate arrows/@arrow/mgather.m @ 61:eff6bddf82e3
tip
Finally implemented perceptual brightness thing.
author |
samer |
date |
Sun, 11 Oct 2015 10:20:42 +0100 |
parents |
672052bd81f8 |
children |
|
rev |
line source |
samer@0
|
1 function [outputs,state]=amgather(a,its,varargin)
|
samer@0
|
2 nout=nargout(a);
|
samer@0
|
3 getst=(nargout>1);
|
samer@0
|
4 [outputs,state]=with_arrow(a,@run,{});
|
samer@0
|
5 function [outs,st]=run(u)
|
samer@0
|
6 [outs{1:nout}]=umgather(u,its,varargin{:});
|
samer@0
|
7 if getst, st=u.get_state(); else st=[]; end
|
samer@0
|
8 end
|
samer@0
|
9 end
|