
% min - min mapped over sequence (ie NOT aggregate)
function o=min(A,B,DIM), 
	if nargin==2 && ~isempty(B), o=binfun(A,B,@min@(a,b),sprintf('max(%s,%s)',a,b));
	else 
		if nargin<3, o=fnseq(@min,A);
		else o=fnseq(@(x)min(x,[],DIM),A);
		end
	end
end

