%GPUARRAY.COLON Build gpuArray equivalent to A:B or A:D:B
%   C = GPUARRAY.COLON(A,B)
%   C = GPUARRAY.COLON(A,D,B)
%   
%   gpuArrays can also be passed to the colon operator directly (A:D:B).
%   64-bit integers are not supported.
%   
%   Example:
%    
%       N = 1000;
%       C1 = gpuArray.colon(1,N);    % Creates vector 1:N on the GPU
%       N = gpuArray(N);
%       C2 = 1:N;
%       isequal(C1,C2)               % C1 == C2
%       isequal(class(C1),class(C2)) % Both are gpuArrays
%   
%   See also COLON, GPUARRAY.


%   Copyright 2008-2014 The MathWorks, Inc.
