Skip to main content
Definition: OutputComplexScalarData.hpp (line 23) Provide a struct for output complex scalar data. Output scalar data provides read-only access to an array of complex scalars.

Members

Private attributes

Variable m_dataType

Definition: OutputComplexScalarData.hpp (line 278)
Type: sysc::PrimitiveType

Variable m_isSplitComplex

Definition: OutputComplexScalarData.hpp (line 279)
Type: bool

Variable m_data1

Definition: OutputComplexScalarData.hpp (line 281)
Type: const void *

Variable m_data2

Definition: OutputComplexScalarData.hpp (line 282)
Type: const void *

Variable m_size

Definition: OutputComplexScalarData.hpp (line 284)
Type: std::size_t

Public functions

Function OutputComplexScalarData

Provide a constructor for output complex scalar data with compact storage for complex components. Parameters:
  • dataComplex: - pointer to an array of complex double-precision scalars
  • size: - number of scalars
Parameters:
  • const double * dataComplex
  • std::size_t size
Return type: References: Referenced by:

Function OutputComplexScalarData

Create an output complex scalar data access object with split storage for compex components. Parameters:
  • dataReal: - pointer to an array of double-precision data, that stores the real components of the complex scalars.
  • dataImaginary: - pointer to an array of double-precision data, that stores the imaginary components of the complex scalars.
  • size: - number of complex scalars
Parameters:
  • const double * dataReal
  • const double * dataImaginary
  • std::size_t size
Return type: References:

Function OutputComplexScalarData

Provide a constructor for output complex scalar data with compact storage for complex components. Parameters:
  • dataComplex: - pointer to an array of complex single-precision scalars
  • size: - number of scalars
Parameters:
  • const float * dataComplex
  • std::size_t size
Return type: References:

Function OutputComplexScalarData

Create an output complex scalar data access object with split storage for compex components. Parameters:
  • dataReal: - pointer to an array of single-precision data, that stores the real components of the complex scalars.
  • dataImaginary: - pointer to an array of single-precision data, that stores the imaginary components of the complex scalars.
  • size: - number of complex scalars
Parameters:
  • const float * dataReal
  • const float * dataImaginary
  • std::size_t size
Return type: References:

Function OutputComplexScalarData

Provide a constructor for output complex scalar data with compact storage for complex components. Parameters:
  • dataComplex: - pointer to an array of complex double-precision scalars
  • size: - number of scalars
Parameters:
  • const std::complex< double > * dataComplex
  • std::size_t size
Return type: References:

Function OutputComplexScalarData

Provide a constructor for output complex scalar data with compact storage for complex components. Parameters:
  • dataComplex: - reference to the STL vector of complex double-precision data
Parameters:
  • const std::vector< std::complex< double > > & dataComplex
Return type: References:

Function OutputComplexScalarData

Create an output complex scalar data access object with split storage for compex components. Parameters:
  • dataReal: - reference to an STL vector of double-precision data, that stores the real components of the complex scalars.
  • dataImaginary: - reference to an STL vector of double-precision data, that stores the imaginary components of the complex scalars.
Parameters:
  • const std::vector< double > & dataReal
  • const std::vector< double > & dataImaginary
Return type: References:

Function OutputComplexScalarData

Provide a constructor for output complex scalar data with compact storage for complex components. Parameters:
  • dataComplex: - pointer to an array of complex single-precision scalars
  • size: - number of scalars
Parameters:
  • const std::complex< float > * dataComplex
  • std::size_t size
Return type: References:

Function OutputComplexScalarData

Provide a constructor for output complex scalar data with compact storage for complex components. Parameters:
  • dataComplex: - reference to the STL vector of complex single-precision data
Parameters:
  • const std::vector< std::complex< float > > & dataComplex
Return type: References:

Function OutputComplexScalarData

Create an output complex scalar data access object with split storage for compex components. Parameters:
  • dataReal: - reference to an STL vector of single-precision data, that stores the real components of the complex scalars.
  • dataImaginary: - reference to an STL vector of single-precision data, that stores the imaginary components of the complex scalars.
Parameters:
  • const std::vector< float > & dataReal
  • const std::vector< float > & dataImaginary
Return type: References:

Function OutputComplexScalarData

Provide a default constructor. Return type:

Function OutputComplexScalarData

Provide a copy-constructor. Parameters: Return type: References:

Function OutputComplexScalarData

Provide a move-constructor. Parameters: Return type: References:

Function operator=

Provide a copy-assign operator. Parameters: Return type: OutputComplexScalarData & References:

Function operator=

Provide a move-assign operator. Parameters: Return type: OutputComplexScalarData & References:

Function OutputComplexScalarData

Provide a constructor from input data. Parameters: Return type: References:

Function size

Get the size of data. Return type: std::size_t Referenced by:

Function empty

Check if array “data” is empty. Return type: bool

Function getDataType

Get the primitive type of data. For internal use only (no back-compatibility guarantee). Return type: sysc::PrimitiveType Referenced by:

Function isSplitComplex

Query whether it’s a split or compact vector layout. For internal use only (no back-compatibility guarantee). Return type: bool Referenced by:

Function getData1

Get pointer to data1. For internal use only (no back-compatibility guarantee). Return type: const void * Referenced by:

Function getData2

Get pointer to data2. For internal use only (no back-compatibility guarantee). Return type: const void * Referenced by: