function Q = orth(A, tol)
%ORTH Orthogonalization for distributed array.
%   
%   Q = ORTH(A)
%   Q = ORTH(A,tol)
%   
%   See also DISTRIBUTED, SVD, RANK, NULL.


%   Copyright 2020-2021 The MathWorks, Inc.
if nargin == 1
    Q = distributedutil.distributedSpmdWrapper( @orth, A );
else
    Q = distributedutil.distributedSpmdWrapper( @orth, A, tol );
end
end
