%NONZEROS Nonzero gpuArray matrix elements
%   NZ = NONZEROS(D)
%   
%   Example:
%    
%       N = 1000;
%       D = gpuArray.speye(N);
%       nz = nonzeros(D)
%   
%   returns nz = gpuArray.ones(N,1).
%   
%   t = issparse(D)
%   
%   returns t = true.
%   
%   See also NONZEROS, GPUARRAY, GPUARRAY/SPEYE.


%   Copyright 2006-2014 The MathWorks, Inc.
