function n=length(X)
%LENGTH (overloaded)

% Author Johan Löfberg 
% $Id: length.m,v 1.3 2006/07/26 20:17:58 joloef Exp $   

n = max(X.dim);
