Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ pow() [13/31]

template<typename T >
std::complex< fvar< T > > stan::math::pow ( const std::complex< fvar< T > > &  x,
int  y 
)
inline

Return the first argument raised to the power of the second argument.

Note: this overload is required because gcc still provides the C++99 template function pow(complex<T>, int), which introduces an ambiguity.

Template Parameters
Tautodiff value type
Parameters
xfirst argument
ysecond argument
Returns
first argument to the power of the second argument

Definition at line 213 of file pow.hpp.