 |
NumCpp
2.4.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Go to the documentation of this file.
52 template<
typename dtype>
53 constexpr dtype
power(dtype inValue,
uint8 inExponent) noexcept
69 template<
typename dtype>
74 [inExponent](dtype inValue) noexcept -> dtype
76 return nc::power(inValue, inExponent);
93 template<
typename dtype>
103 [](dtype inValue,
uint8 inExponent) -> dtype
105 return nc::power(inValue, inExponent);
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4356
std::uint8_t uint8
Definition: Types.hpp:42
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction)
Definition: StlAlgorithms.hpp:702
const_iterator cend() const noexcept
Definition: NdArrayCore.hpp:1487
Definition: Coordinate.hpp:44
constexpr dtype power(dtype inValue, uint8 inExponent) noexcept
Definition: Functions/power.hpp:53
#define THROW_INVALID_ARGUMENT_ERROR(msg)
Definition: Error.hpp:36
dtype power(dtype inValue, uint8 inPower) noexcept
Definition: Utils/power.hpp:48
const_iterator cbegin() const noexcept
Definition: NdArrayCore.hpp:1143
iterator begin() noexcept
Definition: NdArrayCore.hpp:1087