Automatic Differentiation
 
Loading...
Searching...
No Matches
eval.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T , require_same_t< std::decay_t< T >, plain_type_t< T > > * = nullptr>
stan::math::eval (T &&arg)
 Inputs which have a plain_type equal to the own time are forwarded unmodified (for Eigen expressions these types are different)
 
template<typename T , require_not_same_t< std::decay_t< T >, plain_type_t< T > > * = nullptr>
decltype(auto) stan::math::eval (const T &arg)
 Inputs which have a plain_type different from their own type are Eval'd (this catches Eigen expressions)