1 #ifndef STAN_MATH_FWD_SCAL_FUN_TAN_HPP 2 #define STAN_MATH_FWD_SCAL_FUN_TAN_HPP fvar< T > cos(const fvar< T > &x)
T d_
The tangent (derivative) of this variable.
T val_
The value of this variable.
fvar< T > tan(const fvar< T > &x)
var tan(const var &a)
Return the tangent of a radian-scaled variable (cmath).
This template class represents scalars used in forward-mode automatic differentiation, which consist of values and directional derivatives of the specified template type.