function varargout = makima(varargin)
%MAKIMA overloaded for distributed arrays
%   YQ = MAKIMA(X,Y,XQ)
%   PP = MAKIMA(X,Y)
%   
%   Limitation:
%   Piecewise polynomial syntax (two input arguments) not supported.
%   
%   See also MAKIMA, INTERP1, DISTRIBUTED.


%   Copyright 2020 The MathWorks, Inc.

% PP form output is not supported.
if nargin == 2
    error(message("parallel:distributed:InterpPpFormNotSupported"));
end

% Flow through the standard MATLAB version on the codistributed array
varargout = cell( 1, max( nargout, 1 ) );
[varargout{:}] = distributedutil.distributedSpmdWrapper( @makima, varargin{:} );
end