![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>#include <stan/math/rev/meta.hpp>#include <stan/math/rev/core/var.hpp>#include <utility>#include <vector>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 Arith , typename = require_arithmetic_t<scalar_type_t<Arith>>> | |
| Arith | stan::math::deep_copy_vars (Arith &&arg) |
| Forward arguments that do not contain vars. | |
| auto | stan::math::deep_copy_vars (const var &arg) |
| Copy the value of a var but reallocate a new vari. | |
| template<typename VarVec , require_std_vector_vt< is_var, VarVec > * = nullptr> | |
| auto | stan::math::deep_copy_vars (VarVec &&arg) |
| Copy the vars in arg but reallocate new varis for them. | |
| template<typename VecContainer , require_std_vector_st< is_var, VecContainer > * = nullptr, require_std_vector_vt< is_container, VecContainer > * = nullptr> | |
| auto | stan::math::deep_copy_vars (VecContainer &&arg) |
| Copy the vars in arg but reallocate new varis for them. | |
| template<typename EigT , require_eigen_vt< is_var, EigT > * = nullptr> | |
| auto | stan::math::deep_copy_vars (EigT &&arg) |
| Copy the vars in arg but reallocate new varis for them. | |