function varargout = polyvalm(varargin)
%POLYVALM  Evaluate polynomial with matrix argument.
%   Y = polyvalm(P,X)
%   
%   Example:
%    
%       P = gpuArray([1 -29 72 -29 1]);
%       X = gpuArray(magic(4)); 
%       polyvalm(P,X)
%   
%   See also POLYVALM, GPUARRAY.


%   Copyright 2014 The MathWorks, Inc.

% try...catch prevents error being reported by internal
try
    [varargout{1:nargout}] = parallel.internal.flowthrough.polyvalm(varargin{:});
catch ME
    throw(ME);
end
