.. index:: pair: class; xf::dsp::aie::widget::real2complex::widget_real2complex_graph
.. _doxid-classxf_1_1dsp_1_1aie_1_1widget_1_1real2complex_1_1widget__real2complex__graph:
.. _cid-xf::dsp::aie::widget::real2complex::widget_real2complex_graph:
template class xf::dsp::aie::widget::real2complex::widget_real2complex_graph
============================================================================
.. toctree::
:hidden:
.. code-block:: cpp
:class: overview-code-block
#include "widget_real2complex_graph.hpp"
Overview
~~~~~~~~
widget_real2complex is utility to convert real data to complex or vice versa
These are the templates to configure the function.
.. rubric:: Parameters:
.. list-table::
:widths: 20 80
*
- TT_DATA
- describes the type of individual data samples input to the function. This is a typename and must be one of the following: int16, cint16, int32, cint32, float, cfloat.
*
- TT_OUT_DATA
- describes the type of individual data samples output from the function. This is a typename and must be one of the following: int16, cint16, int32, cint32, float, cfloat. TT_OUT_DATA must also be the real or complex counterpart of TT_DATA, e.g. TT_DATA = int16 and TT_OUT_DATA = cint16 is valid, TT_DATA = cint16 and TT_OUT_DATA = int16 is valid, but TT_DATA = int16 and TT_OUT_DATA = cint32 is not valid.
*
- TP_WINDOW_VSIZE
- describes the number of samples in the window API used if either input or output is a window. Note: Margin size should not be included in TP_INPUT_WINDOW_VSIZE. This is the class for the Widget API Cast graph
.. ref-code-block:: cpp
:class: overview-code-block
template <
typename TT_DATA,
typename TT_OUT_DATA,
unsigned int TP_WINDOW_VSIZE
>
class widget_real2complex_graph: public graph
// fields
port :ref:`in`
port