function Z = null(A, how)
%NULL   Null space.
%   Z = NULL(A)
%   
%   The 'r' syntax or "rational" basis is not supported.
%   
%   Example:
%    
%       A = rand(100, 'gpuArray') + eye(100, 'gpuArray');  % Full rank matrix
%       A(:,100) = sum(A(:,1:99),2);  % Create dependency, rank is now 9
%       Z = null(A);                  % Z has one column
%   
%   


%   Copyright 2013-2019 The MathWorks, Inc.

% Exclude the two-input (rational basis) syntax
if (nargin > 1) && isequal(how,'r')
    error(message("parallel:gpu:array:NullNotRat"));
end

% Now just call the standard MATLAB version
Z = parallel.internal.array.callToolboxFunction("matlab/matfun/null", A);
