%LU factorization for gpuArray
%   [L,U] = LU(D)
%   [L,U,P] = LU(D)
%   [L,U,P] = LU(A, outputForm)
%    
%   D must be a full gpuArray matrix of floating point numbers (single or double).
%   
%   Example:
%    
%       N = 1000;
%       D = gpuArray.rand(N);
%       [L,U,piv] = lu(D,'vector');
%       norm(L*U-D(piv,:), 1)
%   
%   See also LU, GPUARRAY.


%   Copyright 2006-2018 The MathWorks, Inc.
