Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/fun/fma.hpp>
#include <stan/math/prim/constraint/identity_constrain.hpp>
#include <stan/math/prim/fun/multiply_log.hpp>
#include <stan/math/prim/fun/size.hpp>
#include <stan/math/prim/fun/sum.hpp>
#include <stan/math/prim/fun/to_ref.hpp>
#include <stan/math/prim/functor/apply.hpp>
#include <cmath>
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 , typename M , typename S , require_all_not_nonscalar_prim_or_rev_kernel_expression_t< T, M, S > * = nullptr> | |
auto | stan::math::offset_multiplier_constrain (const T &x, const M &mu, const S &sigma) |
Return the linearly transformed value for the specified unconstrained input and specified offset and multiplier. | |
template<typename T , typename M , typename S , require_all_not_nonscalar_prim_or_rev_kernel_expression_t< T, M, S > * = nullptr> | |
auto | stan::math::offset_multiplier_constrain (const T &x, const M &mu, const S &sigma, return_type_t< T, M, S > &lp) |
Return the linearly transformed value for the specified unconstrained input and specified offset and multiplier, incrementing the specified reference with the log absolute Jacobian determinant of the transform. | |
template<typename T , typename M , typename S , require_all_not_std_vector_t< M, S > * = nullptr> | |
auto | stan::math::offset_multiplier_constrain (const std::vector< T > &x, const M &mu, const S &sigma) |
Overload for array of x and non-array mu and sigma. | |
template<typename T , typename M , typename S , require_all_not_std_vector_t< M, S > * = nullptr> | |
auto | stan::math::offset_multiplier_constrain (const std::vector< T > &x, const M &mu, const S &sigma, return_type_t< T, M, S > &lp) |
Overload for array of x and non-array mu and sigma with lp. | |
template<typename T , typename M , typename S , require_not_std_vector_t< M > * = nullptr> | |
auto | stan::math::offset_multiplier_constrain (const std::vector< T > &x, const M &mu, const std::vector< S > &sigma) |
Overload for array of x and sigma and non-array mu. | |
template<typename T , typename M , typename S , require_not_std_vector_t< M > * = nullptr> | |
auto | stan::math::offset_multiplier_constrain (const std::vector< T > &x, const M &mu, const std::vector< S > &sigma, return_type_t< T, M, S > &lp) |
Overload for array of x and sigma and non-array mu with lp. | |
template<typename T , typename M , typename S , require_not_std_vector_t< S > * = nullptr> | |
auto | stan::math::offset_multiplier_constrain (const std::vector< T > &x, const std::vector< M > &mu, const S &sigma) |
Overload for array of x and mu and non-array sigma. | |
template<typename T , typename M , typename S , require_not_std_vector_t< S > * = nullptr> | |
auto | stan::math::offset_multiplier_constrain (const std::vector< T > &x, const std::vector< M > &mu, const S &sigma, return_type_t< T, M, S > &lp) |
Overload for array of x and mu and non-array sigma with lp. | |
template<typename T , typename M , typename S > | |
auto | stan::math::offset_multiplier_constrain (const std::vector< T > &x, const std::vector< M > &mu, const std::vector< S > &sigma) |
Overload for array of x, mu, and sigma. | |
template<typename T , typename M , typename S > | |
auto | stan::math::offset_multiplier_constrain (const std::vector< T > &x, const std::vector< M > &mu, const std::vector< S > &sigma, return_type_t< T, M, S > &lp) |
Overload for array of x, mu, and sigma with lp. | |