Mercurial > hg > ishara
view general/funutils/@function_handle/rdivide.m @ 38:9d24b616bb06
Added function algebra.
author | samer |
---|---|
date | Tue, 29 Jan 2013 15:59:01 +0000 |
parents | |
children | c388f1c70669 |
line wrap: on
line source
% rdivide - Bind arguments to a function using Matlab closure % % rdivide :: % func(A{1}, ..., A{N}->B{1:L}) ~'func from N inputs to L outputs', % A{1}, ..., A{M} ~'M<=N input arguments of the correct types' % -> func(A{M+1}, ..., A{N}->B{1:L}) ~'func from remaining arguments to returns'. function g=rdivide(f,args) g=@(varargin)f(args{:},varargin{:}); end