% maxnorm - additive normalisation of vectors
%
% maxnorm :: [[N]] -> [[N]], real.
function [y,m]=maxnorm(x)
	k=max(x);
	if isfinite(k), y=x-k;
	else y=zeros(size(x)); 
	end
end
