48 template<
typename dtype>
49 constexpr dtype
power(dtype inValue,
uint8 inExponent)
noexcept
64 template<
typename dtype>
71 [inExponent](dtype inValue) noexcept -> dtype
72 { return nc::power(inValue, inExponent); });
87 template<
typename dtype>
100 [](dtype inValue,
uint8 inExponent) -> dtype
101 { return nc::power(inValue, inExponent); });
#define THROW_INVALID_ARGUMENT_ERROR(msg)
Definition Error.hpp:37
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition NdArrayCore.hpp:135
const_iterator cbegin() const noexcept
Definition NdArrayCore.hpp:1361
const Shape & shape() const noexcept
Definition NdArrayCore.hpp:4587
const_iterator cend() const noexcept
Definition NdArrayCore.hpp:1669
iterator begin() noexcept
Definition NdArrayCore.hpp:1311
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction)
Definition StlAlgorithms.hpp:776
dtype power(dtype inValue, uint8 inPower) noexcept
Definition Utils/power.hpp:44
Definition Cartesian.hpp:39
constexpr dtype power(dtype inValue, uint8 inExponent) noexcept
Definition Functions/power.hpp:49
std::uint8_t uint8
Definition Types.hpp:42