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

◆ pow() [2/12]

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 
)
inline

Returns the elementwise raising of the first argument to the power of the second argument.

Template Parameters
T1type of first argument
T2type of second argument
Parameters
afirst argument
bsecond argument
Returns
the elementwise raising of the first argument to the power of the second argument.

One type must be a Container type.

Template Parameters
T1A Container type with a base_type that is Arithmetic or an Arithmetic
T1A Container type with a base_type that is Arithmetic or an Arithmetic
Parameters
afirst argument
bsecond argument
Returns
the elementwise raising of the first argument to the power of the second argument.

Definition at line 76 of file pow.hpp.