16-bit Complex Scalar Floating-Point API#

group float_complex_s16_api

Functions

float_complex_s16_t float_complex_s16_mul(const float_complex_s16_t x, const float_complex_s16_t y)#

Multiply two float_complex_s16_t together.

The inputs \(x\) and \(y\) are multiplied together (using complex multiplication) for a result \(a\), which is returned.

Operation Performed:

\[\begin{flalign*} & a \leftarrow x \cdot y && \end{flalign*}\]

Parameters:
  • x[in] Input operand \(x\)

  • y[in] Input operand \(y\)

Returns:

\(a\), the complex product of \(x\) and \(y\)

float_complex_s16_t float_complex_s16_add(const float_complex_s16_t x, const float_complex_s16_t y)#

Add two float_complex_s16_t together.

The inputs \(x\) and \(y\) are added together for a result \(a\), which is returned.

Operation Performed:

\[\begin{flalign*} & a \leftarrow x + y && \end{flalign*}\]

Parameters:
  • x[in] Input operand \(x\)

  • y[in] Input operand \(y\)

Returns:

\(a\), the sum of \(x\) and \(y\)

float_complex_s16_t float_complex_s16_sub(const float_complex_s16_t x, const float_complex_s16_t y)#

Subtract one float_complex_s16_t from another.

The input \(y\) is subtracted from the input \(x\) for a result \(a\), which is returned.

Operation Performed:

\[\begin{flalign*} & a \leftarrow x - y && \end{flalign*}\]

Parameters:
  • x[in] Input operand \(x\)

  • y[in] Input operand \(y\)

Returns:

\(a\), the difference of \(x\) and \(y\)