 |
NumCpp
2.1.0
A C++ implementation of the Python Numpy library
|
Go to the documentation of this file.
54 template<
typename dtype>
59 return static_cast<dtype
>(
std::ldexp(
static_cast<double>(inValue1), inValue2));
74 template<
typename dtype>
84 [](dtype inValue1,
uint8 inValue2) noexcept -> dtype
86 return ldexp(inValue1, inValue2);
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4312
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:38
std::uint8_t uint8
Definition: Types.hpp:43
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction)
Definition: StlAlgorithms.hpp:703
const_iterator cend() const noexcept
Definition: NdArrayCore.hpp:1491
Definition: Coordinate.hpp:45
#define THROW_INVALID_ARGUMENT_ERROR(msg)
Definition: Error.hpp:37
const_iterator cbegin() const noexcept
Definition: NdArrayCore.hpp:1147
iterator begin() noexcept
Definition: NdArrayCore.hpp:1091
dtype ldexp(dtype inValue1, uint8 inValue2) noexcept
Definition: ldexp.hpp:55
NdArray< dtype > ldexp(const NdArray< dtype > &inArray1, const NdArray< uint8 > &inArray2)
Definition: ldexp.hpp:75