Stan Math Library  2.20.0
reverse mode automatic differentiation
Classes | Namespaces | Functions
adj_jac_apply.hpp File Reference
#include <stan/math/rev/meta.hpp>
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <stan/math/prim/mat/fun/value_of.hpp>
#include <stan/math/rev/scal/fun/value_of.hpp>
#include <limits>
#include <tuple>
#include <vector>

Go to the source code of this file.

Classes

struct  stan::math::internal::compute_dims< T >
 Compute the dimensionality of the given template argument. More...
 
struct  stan::math::internal::compute_dims< double >
 Compute the dimensionality of the given template argument. More...
 
struct  stan::math::internal::compute_dims< std::vector< T > >
 Compute the dimensionality of the given template argument. More...
 
struct  stan::math::internal::compute_dims< Eigen::Matrix< T, R, C > >
 compute the dimensionality of the given template argument. More...
 
struct  stan::math::adj_jac_vari< F, Targs >
 adj_jac_vari interfaces a user supplied functor with the reverse mode autodiff. More...
 

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 
 stan::math::internal
 

Functions

template<class F , class Tuple , std::size_t... I>
constexpr auto stan::math::internal::apply_impl (const F &f, const Tuple &t, std::index_sequence< I... > i)
 Invoke the functor f with arguments given in t and indexed in the index sequence I. More...
 
template<class F , class Tuple >
constexpr auto stan::math::internal::apply (const F &f, const Tuple &t)
 Call the functor f with the tuple of arguments t, like: More...
 
template<size_t size>
void stan::math::internal::build_y_adj (vari **y_vi, const std::array< int, size > &M, double &y_adj)
 Store the adjoint in y_vi[0] in y_adj. More...
 
template<size_t size>
void stan::math::internal::build_y_adj (vari **y_vi, const std::array< int, size > &M, std::vector< double > &y_adj)
 Store the adjoints from y_vi in y_adj. More...
 
template<size_t size, int R, int C>
void stan::math::internal::build_y_adj (vari **y_vi, const std::array< int, size > &M, Eigen::Matrix< double, R, C > &y_adj)
 Store the adjoints from y_vi in y_adj. More...
 
template<typename F , typename... Targs>
auto stan::math::adj_jac_apply (const Targs &... args)
 Return the result of applying the function defined by a nullary construction of F to the specified input argument. More...
 

     [ Stan Home Page ] © 2011–2018, Stan Development Team.