/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/DistanceFunctions/ |
D | arm_chebyshev_distance_f32.c | 108 float32_t diff=0.0f, maxVal=0.0f, tmpA, tmpB; in arm_chebyshev_distance_f32() local 116 tmpB = *pB++; in arm_chebyshev_distance_f32() 117 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f32() 124 tmpB = *pB++; in arm_chebyshev_distance_f32() 125 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f32() 170 tmpB = *pB++; in arm_chebyshev_distance_f32() 171 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f32() 185 float32_t diff=0.0f, maxVal,tmpA, tmpB; in arm_chebyshev_distance_f32() local 188 tmpB = *pB++; in arm_chebyshev_distance_f32() 189 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f32() [all …]
|
D | arm_canberra_distance_f32.c | 136 float32_t accum=0.0f, tmpA, tmpB,diff,sum; in arm_canberra_distance_f32() local 183 tmpB = *pB++; in arm_canberra_distance_f32() 185 diff = fabsf(tmpA - tmpB); in arm_canberra_distance_f32() 186 sum = fabsf(tmpA) + fabsf(tmpB); in arm_canberra_distance_f32() 187 if ((tmpA != 0.0f) || (tmpB != 0.0f)) in arm_canberra_distance_f32() 199 float32_t accum=0.0f, tmpA, tmpB,diff,sum; in arm_canberra_distance_f32() local 204 tmpB = *pB++; in arm_canberra_distance_f32() 206 diff = fabsf(tmpA - tmpB); in arm_canberra_distance_f32() 207 sum = fabsf(tmpA) + fabsf(tmpB); in arm_canberra_distance_f32() 208 if ((tmpA != 0.0f) || (tmpB != 0.0f)) in arm_canberra_distance_f32()
|
D | arm_cityblock_distance_f32.c | 98 float32_t accum=0.0f, tmpA, tmpB; in arm_cityblock_distance_f32() local 127 tmpB = *pB++; in arm_cityblock_distance_f32() 128 accum += fabsf(tmpA - tmpB); in arm_cityblock_distance_f32() 138 float32_t accum,tmpA, tmpB; in arm_cityblock_distance_f32() local 144 tmpB = *pB++; in arm_cityblock_distance_f32() 145 accum += fabsf(tmpA - tmpB); in arm_cityblock_distance_f32()
|
D | arm_chebyshev_distance_f16.c | 116 _Float16 diff=0.0f, maxVal,tmpA, tmpB; in arm_chebyshev_distance_f16() local 119 tmpB = *pB++; in arm_chebyshev_distance_f16() 120 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f16() 127 tmpB = *pB++; in arm_chebyshev_distance_f16() 128 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f16()
|
D | arm_canberra_distance_f16.c | 146 _Float16 accum=0.0f, tmpA, tmpB,diff,sum; in arm_canberra_distance_f16() local 151 tmpB = *pB++; in arm_canberra_distance_f16() 153 diff = fabsf(tmpA - tmpB); in arm_canberra_distance_f16() 154 sum = fabsf(tmpA) + fabsf(tmpB); in arm_canberra_distance_f16() 155 if ((tmpA != 0.0f16) || (tmpB != 0.0f16)) in arm_canberra_distance_f16()
|
D | arm_braycurtis_distance_f16.c | 130 _Float16 accumDiff=0.0f16, accumSum=0.0f16, tmpA, tmpB; in arm_braycurtis_distance_f16() local 135 tmpB = *pB++; in arm_braycurtis_distance_f16() 136 accumDiff += (_Float16)fabsf(tmpA - tmpB); in arm_braycurtis_distance_f16() 137 accumSum += (_Float16)fabsf(tmpA + tmpB); in arm_braycurtis_distance_f16()
|
D | arm_cityblock_distance_f16.c | 107 _Float16 accum,tmpA, tmpB; in arm_cityblock_distance_f16() local 113 tmpB = *pB++; in arm_cityblock_distance_f16() 114 accum += (_Float16)fabsf(tmpA - tmpB); in arm_cityblock_distance_f16()
|
D | arm_braycurtis_distance_f32.c | 162 float32_t accumDiff=0.0f, accumSum=0.0f, tmpA, tmpB; in arm_braycurtis_distance_f32() local 167 tmpB = *pB++; in arm_braycurtis_distance_f32() 168 accumDiff += fabsf(tmpA - tmpB); in arm_braycurtis_distance_f32() 169 accumSum += fabsf(tmpA + tmpB); in arm_braycurtis_distance_f32()
|