Lines Matching refs:a

75 	size_t length, const float64_t *a, const float64_t *b)  in test_equal_f64()  argument
80 if (a[index] != b[index]) { in test_equal_f64()
89 size_t length, const float32_t *a, const float32_t *b) in test_equal_f32() argument
94 if (a[index] != b[index]) { in test_equal_f32()
104 size_t length, const float16_t *a, const float16_t *b) in test_equal_f16() argument
109 if (a[index] != b[index]) { in test_equal_f16()
119 size_t length, const q63_t *a, const q63_t *b) in test_equal_q63() argument
124 if (a[index] != b[index]) { in test_equal_q63()
133 size_t length, const q31_t *a, const q31_t *b) in test_equal_q31() argument
138 if (a[index] != b[index]) { in test_equal_q31()
147 size_t length, const q15_t *a, const q15_t *b) in test_equal_q15() argument
152 if (a[index] != b[index]) { in test_equal_q15()
161 size_t length, const q7_t *a, const q7_t *b) in test_equal_q7() argument
166 if (a[index] != b[index]) { in test_equal_q7()
175 size_t length, const float64_t *a, const float64_t *b, in test_near_equal_f64() argument
181 if (fabs(a[index] - b[index]) > threshold) { in test_near_equal_f64()
190 size_t length, const float32_t *a, const float32_t *b, in test_near_equal_f32() argument
196 if (fabsf(a[index] - b[index]) > threshold) { in test_near_equal_f32()
206 size_t length, const float16_t *a, const float16_t *b, in test_near_equal_f16() argument
212 if (fabsf((float)a[index] - (float)b[index]) > (float)threshold) { in test_near_equal_f16()
222 size_t length, const q63_t *a, const q63_t *b, q63_t threshold) in test_near_equal_q63() argument
227 if (llabs(a[index] - b[index]) > threshold) { in test_near_equal_q63()
236 size_t length, const q31_t *a, const q31_t *b, q31_t threshold) in test_near_equal_q31() argument
241 if (abs(a[index] - b[index]) > threshold) { in test_near_equal_q31()
250 size_t length, const q15_t *a, const q15_t *b, q15_t threshold) in test_near_equal_q15() argument
255 if (abs(a[index] - b[index]) > threshold) { in test_near_equal_q15()
264 size_t length, const q7_t *a, const q7_t *b, q7_t threshold) in test_near_equal_q7() argument
269 if (abs(a[index] - b[index]) > threshold) { in test_near_equal_q7()
278 size_t length, const float64_t *a, const float64_t *b, in test_rel_error_f64() argument
285 delta = fabs(a[index] - b[index]); in test_rel_error_f64()
286 average = (fabs(a[index]) + fabs(b[index])) / 2.0; in test_rel_error_f64()
301 size_t length, const float32_t *a, const float32_t *b, in test_rel_error_f32() argument
308 delta = fabsf(a[index] - b[index]); in test_rel_error_f32()
309 average = (fabsf(a[index]) + fabsf(b[index])) / 2.0f; in test_rel_error_f32()
325 size_t length, const float16_t *a, const float16_t *b, in test_rel_error_f16() argument
332 delta = fabsf((float)a[index] - (float)b[index]); in test_rel_error_f16()
333 average = (fabsf((float)a[index]) + fabsf((float)b[index])) / 2.0f; in test_rel_error_f16()
399 size_t length, const float64_t *a, const float64_t *b, in test_snr_error_f64() argument
404 snr = arm_snr_f64(a, b, length); in test_snr_error_f64()
409 size_t length, const float32_t *a, const float32_t *b, in test_snr_error_f32() argument
414 snr = arm_snr_f32(a, b, length); in test_snr_error_f32()
420 size_t length, const float16_t *a, const float16_t *b, in test_snr_error_f16() argument
425 snr = arm_snr_f16(a, b, length); in test_snr_error_f16()
431 size_t length, const q63_t *a, const q63_t *b, float32_t threshold) in test_snr_error_q63() argument
435 snr = arm_snr_q63(a, b, length); in test_snr_error_q63()
440 size_t length, const q31_t *a, const q31_t *b, float32_t threshold) in test_snr_error_q31() argument
444 snr = arm_snr_q31(a, b, length); in test_snr_error_q31()
449 size_t length, const q15_t *a, const q15_t *b, float32_t threshold) in test_snr_error_q15() argument
453 snr = arm_snr_q15(a, b, length); in test_snr_error_q15()
458 size_t length, const q7_t *a, const q7_t *b, float32_t threshold) in test_snr_error_q7() argument
462 snr = arm_snr_q7(a, b, length); in test_snr_error_q7()