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

Go to the source code of this file.

Classes

struct  stan::math::internal::nonexisting_adjoint
 

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.
 
namespace  stan::math::internal
 A comparator that works for any container type that has the brackets operator.
 

Functions

template<typename T , require_var_t< T > * = nullptr>
auto & stan::math::adjoint_of (const T &x)
 Returns a reference to a variable's adjoint.
 
template<typename T , require_not_var_t< T > * = nullptr>
internal::nonexisting_adjoint stan::math::adjoint_of (const T &x)
 Returns a reference to a variable's adjoint.