annotate general/cellutils/@cell/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 45aaf9b2d7b0
children
rev   line source
samer@9 1 function Y=zipwith(fn,varargin)
samer@9 2 % zipwith - Zip cell arrays with a function
samer@9 3 %
samer@9 4 % zipwith :: (
samer@9 5 % (D1,...,Dn)->R ~ function of n arguments,
samer@9 6 % {[size]->D1}, ..., {[size]->Dn} ~ n cell arrays of appropriate types
samer@9 7 % ) -> {[size]->R} ~ cell array of results
samer@9 8
samer@9 9 Y=cellzip(fn,varargin{:});
samer@9 10
samer@9 11