Stan Math Library
5.0.0
Automatic Differentiation
|
#include <stan/math/opencl/kernel_generator.hpp>
#include <stan/math/rev/core.hpp>
#include <stan/math/rev/fun/value_of.hpp>
#include <stan/math/prim/meta.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. | |
Functions | |
template<typename T , typename M , typename S , require_all_prim_or_rev_kernel_expression_t< T, M, S > * = nullptr, require_any_not_stan_scalar_t< T, M, S > * = nullptr, require_any_var_t< T, M, S > * = nullptr> | |
var_value< matrix_cl< double > > | stan::math::offset_multiplier_constrain (T &&A, M &&mu, 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_prim_or_rev_kernel_expression_t< T, M, S > * = nullptr, require_any_not_stan_scalar_t< T, M, S > * = nullptr, require_any_var_t< T, M, S > * = nullptr> | |
var_value< matrix_cl< double > > | stan::math::offset_multiplier_constrain (T &&A, M &&mu, S &&sigma, var &lp) |
Return the linearly transformed value for the specified unconstrained input and specified offset and multiplier. | |