54 if (x.size() == 0 ||
n == 0)
76 realN +=
n % 2 == 1 ? 1 : 0;
82 [](
const auto& value) { return std::conj(value); });
99 template<
typename dtype>
119 for (
uint32 row = 0; row < data.numRows(); ++row)
151 template<
typename dtype>
#define THROW_INVALID_ARGUMENT_ERROR(msg)
Definition Error.hpp:37
#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
self_type transpose() const
Definition NdArrayCore.hpp:4959
self_type flatten() const
Definition NdArrayCore.hpp:2923
uint32 rows
Definition Core/shape.hpp:44
A Class for slicing into NdArrays.
Definition Slice.hpp:45
NdArray< std::complex< double > > ifft_internal(const NdArray< std::complex< double > > &x, uint32 n)
Definition ifft.hpp:50
NdArray< double > irfft_internal(const NdArray< std::complex< double > > &x, uint32 n)
Definition irfft.hpp:52
Definition FFT/FFT.hpp:40
NdArray< double > irfft(const NdArray< std::complex< dtype > > &inArray, uint32 inN, Axis inAxis=Axis::NONE)
Definition irfft.hpp:100
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
Axis
Enum To describe an axis.
Definition Enums.hpp:36
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
std::uint32_t uint32
Definition Types.hpp:40