Correlation distance

RISCV_DSP_ATTRIBUTE float16_t riscv_correlation_distance_f16 (float16_t *pA, float16_t *pB, uint32_t blockSize)
RISCV_DSP_ATTRIBUTE float32_t riscv_correlation_distance_f32 (float32_t *pA, float32_t *pB, uint32_t blockSize)
group Correlation

Correlation distance.

Functions

RISCV_DSP_ATTRIBUTE float16_t riscv_correlation_distance_f16 (float16_t *pA, float16_t *pB, uint32_t blockSize)

Correlation distance between two vectors.

The input vectors are modified in place !

Parameters
  • pA[in] First vector

  • pB[in] Second vector

  • blockSize[in] vector length

Returns

distance

RISCV_DSP_ATTRIBUTE float32_t riscv_correlation_distance_f32 (float32_t *pA, float32_t *pB, uint32_t blockSize)

Correlation distance between two vectors.

The input vectors are modified in place !

Parameters
  • pA[in] First vector

  • pB[in] Second vector

  • blockSize[in] vector length

Returns

distance