Template Function librapid::pow(const V&, const Complex<T>&)#

Function Documentation#

template<typename T, typename V, typename std::enable_if_t<typetraits::TypeInfo<V>::type == detail::LibRapidType::Scalar, int> = 0>
Complex<T> librapid::pow(const V &left, const Complex<T> &right)#

Calculate \( \text{left}^{\text{right}} \) for a complex-valued right-hand side.

Template Parameters
  • T – Value type for the left-hand side

  • V – Value type for the right-hand side

Parameters
  • left – Real base

  • rightComplex exponent

Returns

\( \text{left}^{\text{right}} \)