%EYELIKE Identity gpuArray matrix
%   
%   When P is of type gpuArray:
%   D = EYELIKE(P,N) is an N-by-N gpuArray matrix with ones on
%   the diagonal and zeros elsewhere, and the same complexity and
%   underlying class as P. This is equivalent to 
%   D = EYE(N,'like',P)
%   
%   D = EYELIKE(P,M,N, CLASSNAME) or 
%   EYELIKE(P, [M,N], CLASSNAME) is the M-by-N 
%   gpuArray identity matrix with underlying data of class CLASSNAME 
%   and the same complexity as P. This is equivalent to 
%   D = EYE([M,N],CLASSNAME,'like',P)
%   
%   P must be of numeric underlying class.
%   
%   See also EYE, GPUARRAY, GPUARRAY/eye.


%   Copyright 2013 The MathWorks, Inc.
