52 template<
typename dtype>
62 [&returnArray, &counter](dtype value) noexcept ->
void
63 { returnArray[counter++] = 1. / static_cast<double>(value); });
80 template<
typename dtype>
90 [&returnArray, &counter](std::complex<dtype> value) ->
void
91 { returnArray[counter++] = std::complex<double>(1.) / complex_cast<double>(value); });
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:39
const_iterator cbegin() const noexcept
Definition: NdArrayCore.hpp:1365
const Shape & shape() const noexcept
Definition: NdArrayCore.hpp:4511
const_iterator cend() const noexcept
Definition: NdArrayCore.hpp:1673
void for_each(InputIt first, InputIt last, UnaryFunction f)
Definition: StlAlgorithms.hpp:225
Definition: Cartesian.hpp:40
NdArray< double > reciprocal(const NdArray< dtype > &inArray)
Definition: reciprocal.hpp:53
std::uint32_t uint32
Definition: Types.hpp:40