 |
NumCpp
1.0
A C++ implementation of the Python Numpy library
|
Go to the documentation of this file.
53 template<
typename dtype>
54 constexpr dtype
power(dtype inValue,
uint8 inExponent) noexcept
70 template<
typename dtype>
75 [inExponent](dtype inValue) noexcept -> dtype
77 return nc::power(inValue, inExponent);
94 template<
typename dtype>
104 [](dtype inValue,
uint8 inExponent) -> dtype
106 return nc::power(inValue, inExponent);
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4296
std::uint8_t uint8
Definition: Types.hpp:43
const_iterator cend() const noexcept
Definition: NdArrayCore.hpp:1491
Definition: Coordinate.hpp:45
constexpr dtype power(dtype inValue, uint8 inExponent) noexcept
Definition: Functions/power.hpp:54
#define THROW_INVALID_ARGUMENT_ERROR(msg)
Definition: Error.hpp:37
dtype power(dtype inValue, uint8 inPower) noexcept
Definition: Utils/power.hpp:49
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction) noexcept
Definition: StlAlgorithms.hpp:703
const_iterator cbegin() const noexcept
Definition: NdArrayCore.hpp:1147
iterator begin() noexcept
Definition: NdArrayCore.hpp:1091