![]() |
Stan Math Library
4.9.0
Automatic Differentiation
|
#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 <stan/math/rev/meta.hpp>
#include <stan/math/rev/core.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 <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_st_var< Scal1, Scal2 > * = nullptr, require_all_stan_scalar_t< Scal1, Scal2 > * = nullptr> | |
var | 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. | |
std::complex< var > | stan::math::pow (const std::complex< var > &x, const std::complex< var > &y) |
Return the first argument raised to the power of the second argument. | |
template<typename T , typename = require_arithmetic_t<T>> | |
std::complex< var > | stan::math::pow (const std::complex< var > &x, const std::complex< T > y) |
Return the first argument raised to the power of the second argument. | |
std::complex< var > | stan::math::pow (const std::complex< var > &x, const var &y) |
Return the first argument raised to the power of the second argument. | |
template<typename T , typename = require_arithmetic_t<T>> | |
std::complex< var > | stan::math::pow (const std::complex< var > &x, T y) |
Return the first argument raised to the power of the second argument. | |
template<typename T , typename = require_arithmetic_t<T>> | |
std::complex< var > | stan::math::pow (std::complex< T > x, const std::complex< var > &y) |
Return the first argument raised to the power of the second argument. | |
template<typename T , typename = require_arithmetic_t<T>> | |
std::complex< var > | stan::math::pow (std::complex< T > x, const var &y) |
Return the first argument raised to the power of the second argument. | |
std::complex< var > | stan::math::pow (const var &x, const std::complex< var > &y) |
Return the first argument raised to the power of the second argument. | |
template<typename T , typename = require_arithmetic_t<T>> | |
std::complex< var > | stan::math::pow (const var &x, std::complex< T > y) |
Return the first argument raised to the power of the second argument. | |
template<typename T , typename = require_arithmetic_t<T>> | |
std::complex< var > | stan::math::pow (T x, const std::complex< var > &y) |
Return the first argument raised to the power of the second argument. | |
std::complex< var > | stan::math::pow (const std::complex< var > &x, int y) |
Return the first argument raised to the power of the second argument. | |