Skip to main content
Definition: InputComplexScalarData.hpp (line 24) Provide a class for input complex scalar data. Input scalar data provides read and write access to an array of complex scalars.

Members

Private attributes

Variable m_dataType

Definition: InputComplexScalarData.hpp (line 219)
Type: PrimitiveType

Variable m_isSplitComplex

Definition: InputComplexScalarData.hpp (line 220)
Type: bool

Variable m_data1

Definition: InputComplexScalarData.hpp (line 222)
Type: void *

Variable m_data2

Definition: InputComplexScalarData.hpp (line 223)
Type: void *

Variable m_size

Definition: InputComplexScalarData.hpp (line 225)
Type: std::size_t

Public functions

Function InputComplexScalarData

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

Function InputComplexScalarData

Provide a constructor for input 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:
  • std::complex< double > * dataComplex
  • std::size_t size
Return type:

Function InputComplexScalarData

Provide a constructor for input 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:
  • double * dataComplex
  • std::size_t size
Return type:

Function InputComplexScalarData

Create an input complex scalar data access object with split storage for complex 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:
  • std::vector< double > & dataReal
  • std::vector< double > & dataImaginary
Return type:

Function InputComplexScalarData

Create an input complex scalar data access object with split storage for complex 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:
  • double * dataReal
  • double * dataImaginary
  • std::size_t size
Return type:

Function InputComplexScalarData

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

Function InputComplexScalarData

Provide a constructor for input 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:
  • std::complex< float > * dataComplex
  • std::size_t size
Return type:

Function InputComplexScalarData

Provide a constructor for input 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:
  • float * dataComplex
  • std::size_t size
Return type:

Function InputComplexScalarData

Create an input complex scalar data access object with split storage for complex 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:
  • std::vector< float > & dataReal
  • std::vector< float > & dataImaginary
Return type:

Function InputComplexScalarData

Create an input complex scalar data access object with split storage for complex 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:
  • float * dataReal
  • float * dataImaginary
  • std::size_t size
Return type:

Function InputComplexScalarData

Provide a default constructor. Return type:

Function InputComplexScalarData

Provide a copy-constructor. Parameters: Return type:

Function InputComplexScalarData

Provide a move-constructor. Parameters: Return type:

Function operator=

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

Function operator=

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

Function size

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

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

Function isSplitComplex

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

Function getData1

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

Function getData2

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