view sequences/@seq/max.m @ 53:3ba80c9914ff

Minor doc fix, added .class to .hgignore
author samer
date Mon, 02 Feb 2015 10:47:55 +0000
parents b1280319413e
children
line wrap: on
line source
function o=max(A,B,DIM), 
	if nargin==2 && ~isempty(B), o=binfun(A,B,@max,@(a,b)sprintf('max(%s,%s)',a,b));
	else 
		if nargin<3, o=map(@max,A);
		else o=map(@(x)max(x,[],DIM),A);
		end
	end
end