%NDIMS Number of dimensions of gpuArray
%   N = NDIMS(D)
%   
%   Example:
%    
%       N = 1000;
%       D = gpuArray.rand(2,N,3);
%       n = ndims(D)
%   
%   returns n = 3.
%   
%   See also NDIMS, GPUARRAY.


%   Copyright 2006-2010 The MathWorks, Inc.
