function result = dim(obj)
% usage: obj.dim()
% automatically generated by wrap on 2011-Oct-31
error('need to compile dim.cpp');
end