This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_CMSIS_DSP_DISTANCE

Distance Functions

Type: bool

Help

This option enables the Distance Functions, which support the
following distance computation algorithms:

* Boolean Vectors
  * Hamming
  * Jaccard
  * Kulsinski
  * Rogers-Tanimoto
  * Russell-Rao
  * Sokal-Michener
  * Sokal-Sneath
  * Yule
  * Dice

* Floating-Point Vectors
  * Canberra
  * Chebyshev
  * Cityblock
  * Correlation
  * Cosine
  * Euclidean
  * Jensen-Shannon
  * Minkowski
  * Bray-Curtis

Direct dependencies

CMSIS_DSP

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols implied by this symbol

Kconfig definition

At modules/Kconfig.cmsis_dsp:170

Included via Kconfig:8Kconfig.zephyr:31modules/Kconfig:13modules/Kconfig.cmsis:28

Menu path: (Top) → Modules → CMSIS-DSP Library Support

config CMSIS_DSP_DISTANCE
    bool "Distance Functions"
    imply CMSIS_DSP_STATISTICS
    depends on CMSIS_DSP
    help
      This option enables the Distance Functions, which support the
      following distance computation algorithms:

      * Boolean Vectors
        * Hamming
        * Jaccard
        * Kulsinski
        * Rogers-Tanimoto
        * Russell-Rao
        * Sokal-Michener
        * Sokal-Sneath
        * Yule
        * Dice

      * Floating-Point Vectors
        * Canberra
        * Chebyshev
        * Cityblock
        * Correlation
        * Cosine
        * Euclidean
        * Jensen-Shannon
        * Minkowski
        * Bray-Curtis

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)