%GPUARRAY.INF Infinity gpuArray
%   D = GPUARRAY.INF(N) is an N-by-N gpuArray matrix of INFs.
%   
%   D = GPUARRAY.INF(M,N) is an M-by-N gpuArray matrix of INFs.
%   
%   D = GPUARRAY.INF(M,N,K,...) or GPUARRAY.INF([M,N,K,...])
%   is an M-by-N-by-K-by-... gpuArray of INFs.
%   
%   D = GPUARRAY.INF(M,N,K,..., CLASSNAME) or 
%   GPUARRAY.INF([M,N,K,...], CLASSNAME) is an M-by-N-by-K-by-... 
%   gpuArray of INFs of class specified by CLASSNAME.  CLASSNAME 
%   must be either 'single' or 'double'.
%   
%   D = INF(...,'like',P) for a GPUARRAY argument P returns a gpuArray of INFs of the 
%   same complexity as P and the requested size. If CLASSNAME is not specified then D has 
%   the same underlying class as P. P must have underlying class 'single' or 'double'.
%   
%   
%   Example:
%   % Create a 1000-by-1 gpuArray of underlying class 'single' 
%   % containing the value Inf:
%    
%       N = 1000;
%       D1 = gpuArray.INF(N, 1,'single');
%       % D2 is a 1000-by-1000 gpuArray with the same underlying class
%       D2 = INF(N,'like',D1); 
%   
%   See also INF, GPUARRAY, GPUARRAY/ZEROS, GPUARRAY/ONES


%   Copyright 2008-2019 The MathWorks, Inc.
