68 input.put(x.rSlice(), x.cSlice(), x);
78 for (
auto row = 0u; row <
input.numRows(); ++row)
85 [](
const auto& value) { return std::conj(value); });
86 for (
auto col = 1u; col <
input.numCols(); ++col)
91 [](
const auto& value) { return std::conj(value); });
109 template<
typename dtype>
128 template<
typename dtype>
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition StaticAsserts.hpp:39
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition NdArrayCore.hpp:139
A Shape Class for NdArrays.
Definition Core/shape.hpp:41
uint32 rows
Definition Core/shape.hpp:44
uint32 cols
Definition Core/shape.hpp:45
A Class for slicing into NdArrays.
Definition Slice.hpp:45
NdArray< std::complex< double > > ifft2_internal(const NdArray< std::complex< double > > &x, const Shape &shape)
Definition ifft2.hpp:47
NdArray< double > irfft2_internal(const NdArray< std::complex< double > > &x, const Shape &shape)
Definition irfft2.hpp:52
Definition FFT/FFT.hpp:40
NdArray< double > irfft2(const NdArray< std::complex< dtype > > &inArray, const Shape &inShape)
Definition irfft2.hpp:110
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction)
Definition StlAlgorithms.hpp:775
OutputIt copy(InputIt first, InputIt last, OutputIt destination) noexcept
Definition StlAlgorithms.hpp:97
auto real(const std::complex< dtype > &inValue)
Definition real.hpp:48
NdArray< dtype > arange(dtype inStart, dtype inStop, dtype inStep=1)
Definition arange.hpp:59
NdArray< dtype > zeros(uint32 inSquareSize)
Definition zeros.hpp:48
Shape shape(const NdArray< dtype > &inArray) noexcept
Definition Functions/shape.hpp:42