7#ifndef NRF_OBSV_DIST_BINNIG_H_
8#define NRF_OBSV_DIST_BINNIG_H_
27void _dist_uniform_edges(
float *edges, uint8_t bin_num);
34uint8_t _dist_find_bin(
const float *edges, uint8_t bin_num,
float val);
42uint8_t _dist_uniform_bin(uint8_t bin_num,
float val);
48static inline float _clip01(
float v)
50 return (v < 0.0f) ? 0.0f : ((v > 1.0f) ? 1.0f : v);