16-bit complex scalar floating-point API¶
- group Scalar Complex 16-bit Floating-point 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{aligned} & a \leftarrow x \cdot y \end{aligned}\]
- 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{aligned} & a \leftarrow x + y \end{aligned}\]
- 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{aligned} & a \leftarrow x - y \end{aligned}\]
- Parameters:
x – [in] Input operand \(x\)
y – [in] Input operand \(y\)
- Returns:
\(a\), the difference of \(x\) and \(y\)