descriptor<precision, domain>¶
Creates a descriptor for the templated precision and forward domain with configuration values. This routine belongs to the oneapi::mkl::dft
namespace.
Syntax
namespace oneapi::mkl::dft{
descriptor<PRECISION, DOMAIN> desc (dimension)
}
namespace oneapi::mkl::dft{
descriptor<PRECISION, DOMAIN> desc ({dim1, dim2, ...})
}
Include Files
oneapi/mkl/dfti.hpp
Description
This constructor initializes members to default values and throws an std::runtime_exception
in the case that it fails. Note that the precision and domain are determined via templating. This function allocates memory for the descriptor data structure and instantiates it with all the default configuration settings for the precision, forward domain, and dimensions of the transform.
This function does not perform any significant computational work such as computation of twiddle factors. The function descriptor::commit
does this work after the function descriptor::set_value
has set values of all necessary parameters.
The interface supports a single MKL_LONG
input for 1-D transforms, and an std::vector
for N-D transforms.
Template Parameters
Name |
Type |
Description |
---|---|---|
PRECISION |
|
|
DOMAIN |
|
|
Input Parameters: 1-Dimensional
Name |
Type |
Description |
---|---|---|
dimension |
MKL_LONG |
Dimension of the transform 1-D transform. |
Input Parameters: N-Dimensional
Name |
Type |
Description |
---|---|---|
dimensions |
|
Dimensions of the transform. |