oph_gsl_complex_to_rect

Description

Behaviour

It converts a binary array of complex numbers expressed in polar form into the rectangular form.

Parameters

  • input measure type: Ophidia typing. Supported types are: ‘oph_complex_double’; ‘oph_complex_float’; ‘oph_complex_int’; ‘oph_complex_long’.
  • output measure type: Ophidia typing. Supported types are: ‘oph_complex_double’; ‘oph_complex_float’; ‘oph_complex_int’; ‘oph_complex_long’.
  • measure: input measure.

Return type

Binary-array.

Examples

Get the rectangular form of an array of complex numbers expressed in polar coordinates.

oph_gsl_complex_to_rect('OPH_COMPlEX_DOUBLE','OPH_COMPLEX_DOUBLE',measure)

Operation type

Simple.

Arguments

Argument name Type Mandatory Values Default Min/Max-value Min/Max-times
input measure type “oph_type” “yes” “‘oph_complex_double’|’oph_complex_float’|’oph_complex_int’|’oph_complex_lo ng’”     “1” / “1”
output measure type “oph_type” “yes” “‘oph_complex_double’|’oph_complex_float’|’oph_complex_int’|’oph_complex_lo ng’”     “1” / “1”
measure “binary-array” “yes”       “1” / “1”