function varargout = expm(varargin)
%EXPM Matrix exponential for gpuArray
%   Y = EXPM(X)
%   
%   Example:
%    
%       A = [1        1        0
%            0        0        2
%            0        0       -1 ];
%   		 
%       E = expm(gpuArray(A))
%   
%   See also EXPM, GPUARRAY.


%   Copyright 2014 The MathWorks, Inc.

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