51 template<
typename dtype>
52 constexpr dtype
power(dtype inValue,
uint8 inExponent) noexcept
67 template<
typename dtype>
74 [inExponent](dtype inValue) noexcept -> dtype
75 { return nc::power(inValue, inExponent); });
90 template<
typename dtype>
103 [](dtype inValue,
uint8 inExponent) -> dtype
104 { 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:138
const_iterator cbegin() const noexcept
Definition: NdArrayCore.hpp:1308
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4402
const_iterator cend() const noexcept
Definition: NdArrayCore.hpp:1616
iterator begin() noexcept
Definition: NdArrayCore.hpp:1258
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction)
Definition: StlAlgorithms.hpp:775
dtype power(dtype inValue, uint8 inPower) noexcept
Definition: Utils/power.hpp:46
Definition: Coordinate.hpp:45
constexpr dtype power(dtype inValue, uint8 inExponent) noexcept
Definition: Functions/power.hpp:52
std::uint8_t uint8
Definition: Types.hpp:42