%CHOL Cholesky factorization of gpuArray
%   R = CHOL(D)
%   [R,p] = CHOL(D)
%   L = CHOL(D, 'lower')
%   [L,p] = CHOL(D, 'lower')
%   
%   D must be a full gpuArray matrix of floating point numbers (single or double).
%   Sparse arrays are not supported. The 'vector' option is not supported.
%   
%   Example:
%    
%       N = 1000;
%       D = 1 + gpuArray.eye(N);
%       [R,p] = chol(D);
%       isequal(p, 0) % true
%       norm(R'*R - D, 1)
%   
%   See also CHOL, GPUARRAY, GPUARRAY/EYE.


%   Copyright 2006-2013 The MathWorks, Inc.

