1#ifndef STAN_MATH_FWD_FUN_TANH_HPP
2#define STAN_MATH_FWD_FUN_TANH_HPP
28inline std::complex<fvar<T>>
tanh(
const std::complex<
fvar<T>>& z) {
std::complex< V > complex_tanh(const std::complex< V > &z)
Return the hyperbolic tangent of the complex argument.
fvar< T > tanh(const fvar< T > &x)
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Scalar val_
The value of this variable.
Scalar d_
The tangent (derivative) of this variable.
This template class represents scalars used in forward-mode automatic differentiation,...