![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>#include <stan/math/prim/functor/apply_scalar_binary.hpp>#include <stan/math/prim/functor/finite_diff_gradient_auto.hpp>#include <stan/math/prim/fun/value_of.hpp>#include <stan/math/prim/fun/sum.hpp>#include <stan/math/prim/fun/serializer.hpp>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. | |
| namespace | stan::math::internal |
| A comparator that works for any container type that has the brackets operator. | |
Functions | |
| template<typename FuncTangent , typename InputArg , require_not_st_fvar< InputArg > * = nullptr> | |
| constexpr double | stan::math::internal::aggregate_tangent (const FuncTangent &tangent, const InputArg &arg) |
| Helper function for aggregating tangents if the respective input argument was an fvar<T> type. | |
| template<typename FuncTangent , typename InputArg , require_st_fvar< InputArg > * = nullptr> | |
| auto | stan::math::internal::aggregate_tangent (const FuncTangent &tangent, const InputArg &arg) |
| Helper function for aggregating tangents if the respective input argument was an fvar<T> type. | |
| template<typename F , typename... TArgs, require_any_st_fvar< TArgs... > * = nullptr> | |
| auto | stan::math::finite_diff (const F &func, const TArgs &... args) |
| Construct an fvar<T> where the tangent is calculated by finite-differencing. | |