5#include "fourier_normalization.hpp"
7#include <rexlib/core/operation/operation_declaration_macros.hpp>
8#include <rexlib/core/platform/dynamic_shared_object.h>
9#include <rexlib/ops/ops_component.hpp>
10#include <rexlib/ops/parameters/axis_list.hpp>
11#include <rexlib/ops/parameters/restored_signal_axes.hpp>
12#include <rexlib/ops/rules/shape_rules.hpp>
13#include <rexlib/ops/rules/type_rules.hpp>
22REXLIB_DECLARE_PARAMETRIC_OPERATION_TRAITS(
25 REXLIB_OPERANDS(
"signal"),
26 REXLIB_OPERANDS(
"spectrum"),
29 unary_real_of_rule<complex_type_domain>
39REXLIB_BEGIN_TEMPLATE_BASE
Container for multidimensional numeric data.
Definition array.hpp:31
Transform a half spectrum back into a real array.
Definition irfft_operation.hpp:42
fourier_normalization get_normalization() const noexcept
Get the scaling convention.
irfft_operation(axis_list axes, std::size_t extent, fourier_normalization normalization=fourier_normalization::backward)
Construct an inverse transform of a real signal.
CRTP base for operations whose signature depends on parameters.
Definition parametric_operation.hpp:43
operand_shape_rule< type_list< extent_from_operation< extent_of, positive_extent_domain > >, type_list< core_dimensions< axis_run<>, axis_same_as< 0 > > >, type_list< core_dimensions< axis_run< positive_extent_domain >, axis_half_spectrum_of< 0 > > >, named_core< axes_of > > inverse_real_fourier_transform_shape_rule
Inverse of real_fourier_transform_shape_rule.
Definition shape_rules.hpp:237
std::vector< std::size_t > axis_list
The axes an operation acts along.
Definition axis_list.hpp:19
fourier_normalization
Which of a transform pair carries the scaling.
Definition fourier_normalization.hpp:34
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
array irfft(const_array_ref x, span< const std::ptrdiff_t > axes, std::size_t extent, ops::fourier_normalization normalization, const execution_context &context, array *out=nullptr)
Transform a half spectrum back into a real array.