Automatic Differentiation
 
Loading...
Searching...
No Matches
pow.hpp File Reference
#include <stan/math/fwd/meta.hpp>
#include <stan/math/fwd/core.hpp>
#include <stan/math/fwd/fun/sqrt.hpp>
#include <stan/math/fwd/fun/inv.hpp>
#include <stan/math/fwd/fun/inv_sqrt.hpp>
#include <stan/math/fwd/fun/inv_square.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 T >
fvar< T > stan::math::pow (const fvar< T > &x1, const fvar< T > &x2)
 
template<typename T , typename U , typename = require_arithmetic_t<U>>
fvar< T > stan::math::pow (U x1, const fvar< T > &x2)
 
template<typename T , typename U , typename = require_arithmetic_t<U>>
fvar< T > stan::math::pow (const fvar< T > &x1, U x2)
 
template<typename V >
std::complex< fvar< V > > stan::math::pow (const std::complex< fvar< V > > &x, const std::complex< fvar< V > > &y)
 Return the first argument raised to the power of the second argument.
 
template<typename V , typename T , typename = require_arithmetic_t<T>>
std::complex< fvar< V > > stan::math::pow (const std::complex< fvar< V > > &x, const std::complex< T > &y)
 Return the first argument raised to the power of the second argument.
 
template<typename V >
std::complex< fvar< V > > stan::math::pow (const std::complex< fvar< V > > &x, const fvar< V > &y)
 Return the first argument raised to the power of the second argument.
 
template<typename V , typename T , typename = require_arithmetic_t<T>>
std::complex< fvar< V > > stan::math::pow (const std::complex< fvar< V > > &x, const T &y)
 Return the first argument raised to the power of the second argument.
 
template<typename V , typename T , typename = require_arithmetic_t<T>>
std::complex< fvar< V > > stan::math::pow (const std::complex< T > &x, const std::complex< fvar< V > > &y)
 Return the first argument raised to the power of the second argument.
 
template<typename V , typename T , typename = require_arithmetic_t<T>>
std::complex< fvar< V > > stan::math::pow (const std::complex< T > &x, const fvar< V > &y)
 Return the first argument raised to the power of the second argument.
 
template<typename V >
std::complex< fvar< V > > stan::math::pow (const fvar< V > &x, const std::complex< fvar< V > > &y)
 Return the first argument raised to the power of the second argument.
 
template<typename V , typename T , typename = require_arithmetic_t<T>>
std::complex< fvar< V > > stan::math::pow (const fvar< V > &x, const std::complex< T > &y)
 Return the first argument raised to the power of the second argument.
 
template<typename T , typename V , typename = require_arithmetic_t<T>>
std::complex< fvar< V > > stan::math::pow (T x, const std::complex< fvar< V > > &y)
 Return the first argument raised to the power of the second argument.
 
template<typename T >
std::complex< fvar< T > > stan::math::pow (const std::complex< fvar< T > > &x, int y)
 Return the first argument raised to the power of the second argument.