Home
last modified time | relevance | path

Searched refs:tmpA (Results 1 – 8 of 8) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/DistanceFunctions/
Darm_chebyshev_distance_f32.c108 float32_t diff=0.0f, maxVal=0.0f, tmpA, tmpB; in arm_chebyshev_distance_f32() local
115 tmpA = *pA++; in arm_chebyshev_distance_f32()
117 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f32()
123 tmpA = *pA++; in arm_chebyshev_distance_f32()
125 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f32()
169 tmpA = *pA++; 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
187 tmpA = *pA++; in arm_chebyshev_distance_f32()
189 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f32()
[all …]
Darm_canberra_distance_f32.c136 float32_t accum=0.0f, tmpA, tmpB,diff,sum; in arm_canberra_distance_f32() local
182 tmpA = *pA++; 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
203 tmpA = *pA++; 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()
Darm_cityblock_distance_f32.c98 float32_t accum=0.0f, tmpA, tmpB; in arm_cityblock_distance_f32() local
126 tmpA = *pA++; 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
143 tmpA = *pA++; in arm_cityblock_distance_f32()
145 accum += fabsf(tmpA - tmpB); in arm_cityblock_distance_f32()
Darm_chebyshev_distance_f16.c116 _Float16 diff=0.0f, maxVal,tmpA, tmpB; in arm_chebyshev_distance_f16() local
118 tmpA = *pA++; in arm_chebyshev_distance_f16()
120 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f16()
126 tmpA = *pA++; in arm_chebyshev_distance_f16()
128 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f16()
Darm_canberra_distance_f16.c146 _Float16 accum=0.0f, tmpA, tmpB,diff,sum; in arm_canberra_distance_f16() local
150 tmpA = *pA++; 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()
Darm_braycurtis_distance_f16.c130 _Float16 accumDiff=0.0f16, accumSum=0.0f16, tmpA, tmpB; in arm_braycurtis_distance_f16() local
134 tmpA = *pA++; 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()
Darm_cityblock_distance_f16.c107 _Float16 accum,tmpA, tmpB; in arm_cityblock_distance_f16() local
112 tmpA = *pA++; in arm_cityblock_distance_f16()
114 accum += (_Float16)fabsf(tmpA - tmpB); in arm_cityblock_distance_f16()
Darm_braycurtis_distance_f32.c162 float32_t accumDiff=0.0f, accumSum=0.0f, tmpA, tmpB; in arm_braycurtis_distance_f32() local
166 tmpA = *pA++; 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()