1#ifndef STAN_MATH_FWD_FUN_COS_HPP
2#define STAN_MATH_FWD_FUN_COS_HPP
28inline std::complex<fvar<T>>
cos(
const std::complex<
fvar<T>>& z) {
std::complex< T > complex_cos(const std::complex< T > &z)
Return the cosine of the complex argument.
fvar< T > sin(const fvar< T > &x)
fvar< T > cos(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,...