annotate general/funutils/@function_handle/zipwith.m @ 13:03694e5c8365

Reorganised some high order list functions to correct class-based method dispatch; fixed some docs.
author samer
date Wed, 16 Jan 2013 12:12:34 +0000
parents
children
rev   line source
samer@13 1 function Y=zipwith(fn,varargin)
samer@13 2 % zipwith - Zip cell arrays with a function
samer@13 3 %
samer@13 4 % zipwith :: (
samer@13 5 % (D1,...,Dn)->R ~ function of n arguments,
samer@13 6 % {[size]->D1}, ..., {[size]->Dn} ~ n cell arrays of appropriate types
samer@13 7 % ) -> {[size]->R} ~ cell array of results
samer@13 8
samer@13 9 Y=cellzip(fn,varargin{:});
samer@13 10
samer@13 11