function z = asinh(z)
%ASINH   Inverse hyperbolic sine.
%   Y = ASINH(X)
%
%   The output Y has the same data format, if any, as the input X.
%
%   See also ASINH, DLARRAY.

%   Copyright 2020 The MathWorks, Inc.

% If this file is modified to not be a standard unary element-wise
% function, please also remove the following template tags.
%#define $UnaryFunction asinh($zdata)
%#template $UnaryElementWiseTemplate
% Template inserted by deep.dev.generateDlarrayMethods, 2020-03-20 13:49 

% Extract data to work on and create a template output object.
[z, fdz, zdata] = extractUnaryElwiseData(z);

zdata = asinh(matlab.lang.internal.move(zdata));

z = restoreUnaryElwiseData(z, ...
    matlab.lang.internal.move(fdz), ...
    matlab.lang.internal.move(zdata));

%#template
end
