1 #ifndef STAN_MATH_PRIM_MAT_FUN_SIN_HPP
2 #define STAN_MATH_PRIM_MAT_FUN_SIN_HPP
18 static inline T
fun(
const T& x) {
31 inline typename apply_scalar_unary<sin_fun, T>::return_t
var sin(const var &a)
Return the sine of a radian-scaled variable (cmath).
Structure to wrap sin() so it can be vectorized.
fvar< T > sin(const fvar< T > &x)
static return_t apply(const T &x)
Return the result of applying the function defined by the template parameter F to the specified matri...