Stan Math Library
5.0.0
Automatic Differentiation
|
#include <stan/math/rev/meta.hpp>
#include <stan/math/rev/core.hpp>
#include <stan/math/rev/fun/exp.hpp>
#include <stan/math/rev/fun/inv.hpp>
#include <stan/math/rev/fun/inv_sqrt.hpp>
#include <stan/math/rev/fun/inv_square.hpp>
#include <stan/math/rev/fun/is_nan.hpp>
#include <stan/math/rev/fun/log.hpp>
#include <stan/math/rev/fun/sqrt.hpp>
#include <stan/math/rev/fun/square.hpp>
#include <stan/math/rev/fun/value_of_rec.hpp>
#include <stan/math/prim/core.hpp>
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/fun/constants.hpp>
#include <stan/math/prim/fun/copysign.hpp>
#include <stan/math/prim/fun/is_any_nan.hpp>
#include <stan/math/prim/fun/isnan.hpp>
#include <stan/math/prim/fun/is_nan.hpp>
#include <stan/math/prim/fun/pow.hpp>
#include <cmath>
#include <complex>
#include <type_traits>
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 Scal1 , typename Scal2 , require_any_var_t< base_type_t< Scal1 >, base_type_t< Scal2 > > * = nullptr, require_all_stan_scalar_t< Scal1, Scal2 > * = nullptr> | |
auto | stan::math::pow (const Scal1 &base, const Scal2 &exponent) |
Return the base raised to the power of the exponent (cmath). | |
template<typename Mat1 , typename Mat2 , require_all_st_var_or_arithmetic< Mat1, Mat2 > * = nullptr, require_any_matrix_st< is_var, Mat1, Mat2 > * = nullptr, require_all_not_stan_scalar_t< Mat1, Mat2 > * = nullptr> | |
auto | stan::math::pow (const Mat1 &base, const Mat2 &exponent) |
Return the base raised to the power of the exponent (cmath). | |
template<typename Mat1 , typename Scal1 , require_all_st_var_or_arithmetic< Mat1, Scal1 > * = nullptr, require_all_matrix_st< is_var, Mat1 > * = nullptr, require_stan_scalar_t< Scal1 > * = nullptr> | |
auto | stan::math::pow (const Mat1 &base, const Scal1 &exponent) |
Return the base raised to the power of the exponent (cmath). | |
template<typename Scal1 , typename Mat1 , require_all_st_var_or_arithmetic< Scal1, Mat1 > * = nullptr, require_stan_scalar_t< Scal1 > * = nullptr, require_all_matrix_st< is_var, Mat1 > * = nullptr> | |
auto | stan::math::pow (Scal1 base, const Mat1 &exponent) |
Return the base scalar raised to the power of the exponent matrix elementwise. | |
template<typename T1 , typename T2 , require_any_container_t< T1, T2 > * = nullptr, require_all_not_matrix_st< is_var, T1, T2 > * = nullptr, require_any_fvar_t< base_type_t< T1 >, base_type_t< T2 > > * = nullptr> | |
auto | stan::math::pow (const T1 &a, const T2 &b) |
Returns the elementwise raising of the first argument to the power of the second argument. | |