1#ifndef STAN_MATH_PRIM_FUN_EVAL_HPP
2#define STAN_MATH_PRIM_FUN_EVAL_HPP
19 require_same_t<std::decay_t<T>, plain_type_t<T>>* =
nullptr>
21 return std::forward<T>(
arg);
require_not_t< std::is_same< std::decay_t< T >, std::decay_t< S > > > require_not_same_t
Require types T and S does not satisfy std::is_same.
fvar< T > arg(const std::complex< fvar< T > > &z)
Return the phase angle of the complex argument.
T eval(T &&arg)
Inputs which have a plain_type equal to the own time are forwarded unmodified (for Eigen expressions ...
typename plain_type< T >::type plain_type_t
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...