1#ifndef STAN_MATH_FWD_FUN_POW_HPP
2#define STAN_MATH_FWD_FUN_POW_HPP
27template <
typename T,
typename U,
typename = require_arithmetic_t<U>>
35template <
typename T,
typename U,
typename = require_arithmetic_t<U>>
81inline std::complex<fvar<V>>
pow(
const std::complex<
fvar<V>>& x,
82 const std::complex<
fvar<V>>& y) {
95template <
typename V,
typename T,
typename = require_arithmetic_t<T>>
96inline std::complex<fvar<V>>
pow(
const std::complex<
fvar<V>>& x,
97 const std::complex<T>& y) {
110inline std::complex<fvar<V>>
pow(
const std::complex<
fvar<V>>& x,
124template <
typename V,
typename T,
typename = require_arithmetic_t<T>>
125inline std::complex<fvar<V>>
pow(
const std::complex<
fvar<V>>& x,
const T& y) {
138template <
typename V,
typename T,
typename = require_arithmetic_t<T>>
139inline std::complex<fvar<V>>
pow(
const std::complex<T>& x,
140 const std::complex<
fvar<V>>& y) {
153template <
typename V,
typename T,
typename = require_arithmetic_t<T>>
154inline std::complex<fvar<V>>
pow(
const std::complex<T>& x,
const fvar<V>& y) {
168 const std::complex<
fvar<V>>& y) {
181template <
typename V,
typename T,
typename = require_arithmetic_t<T>>
182inline std::complex<fvar<V>>
pow(
const fvar<V>& x,
const std::complex<T>& y) {
195template <
typename T,
typename V,
typename = require_arithmetic_t<T>>
196inline std::complex<fvar<V>>
pow(T x,
const std::complex<
fvar<V>>& y) {
213inline std::complex<fvar<T>>
pow(
const std::complex<
fvar<T>>& x,
int y) {
complex_return_t< U, V > complex_pow(const U &x, const V &y)
Return the first argument raised to the power of the second argument.
fvar< T > inv_square(const fvar< T > &x)
fvar< T > log(const fvar< T > &x)
fvar< T > sqrt(const fvar< T > &x)
fvar< T > pow(const fvar< T > &x1, const fvar< T > &x2)
fvar< T > inv_sqrt(const fvar< T > &x)
fvar< T > inv(const fvar< T > &x)
fvar< T > square(const fvar< T > &x)
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Scalar val_
The value of this variable.
Scalar d_
The tangent (derivative) of this variable.
This template class represents scalars used in forward-mode automatic differentiation,...