Home
last modified time | relevance | path

Searched refs:REL_ERROR (Results 1 – 25 of 45) sorted by relevance

12

/cmsis-dsp-3.7.0-3.6.0/Testing/Source/Tests/
DWindowTestsF32.cpp13 #define REL_ERROR (1.0e-6) macro
26 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_welch_f32()
39 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_bartlett_f32()
52 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_hamming_f32()
65 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_hanning_f32()
78 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_nuttall3_f32()
91 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_nuttall4_f32()
104 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_nuttall3a_f32()
117 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_nuttall3b_f32()
130 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_nuttall4a_f32()
[all …]
DWindowTestsF64.cpp13 #define REL_ERROR (3.0e-15) macro
26 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_welch_f64()
39 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_bartlett_f64()
52 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_hamming_f64()
65 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_hanning_f64()
78 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_nuttall3_f64()
91 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_nuttall4_f64()
104 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_nuttall3a_f64()
117 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_nuttall3b_f64()
130 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_nuttall4a_f64()
[all …]
DQuaternionTestsF32.cpp13 #define REL_ERROR (1.0e-6) macro
29 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_quaternion_norm_f32()
44 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_quaternion_inverse_f32()
59 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_quaternion_conjugate_f32()
74 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_quaternion_normalize_f32()
96 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_quaternion_prod_single_f32()
112 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_quaternion_product_f32()
127 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_quaternion2rotation_f32()
164 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_rotation2quaternion_f32()
DBasicTestsF16.cpp15 #define REL_ERROR (4e-2) macro
33 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_add_f16()
48 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_clip_f16()
63 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_sub_f16()
78 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_mult_f16()
95 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_negate_f16()
112 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_offset_f16()
129 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_scale_f16()
146 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_dot_prod_f16()
166 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_abs_f16()
DBasicTestsF32.cpp13 #define REL_ERROR (5.0e-5) macro
30 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_add_f32()
45 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_clip_f32()
59 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_sub_f32()
73 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_mult_f32()
89 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_negate_f32()
105 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_offset_f32()
121 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_scale_f32()
137 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_dot_prod_f32()
156 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_abs_f32()
DBasicTestsF64.cpp13 #define REL_ERROR (2.0e-13) macro
30 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_add_f64()
60 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_sub_f64()
74 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_mult_f64()
90 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_negate_f64()
106 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_offset_f64()
122 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_scale_f64()
138 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_dot_prod_f64()
157 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_abs_f64()
DDistanceTestsF16.cpp6 #define REL_ERROR (5e-3) macro
29 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_braycurtis_distance_f16()
48 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_canberra_distance_f16()
67 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_chebyshev_distance_f16()
86 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cityblock_distance_f16()
111 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_correlation_distance_f16()
130 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cosine_distance_f16()
149 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_euclidean_distance_f16()
DFastMathF16.cpp18 #define REL_ERROR (1.0e-3) macro
38 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR);
54 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR);
98 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR); in test_sqrt_f16()
112 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR); in test_vlog_f16()
124 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR); in test_vexp_f16()
138 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR); in test_inverse_f16()
DDistanceTestsF64.cpp7 #define REL_ERROR (2.0e-14) macro
64 ASSERT_NEAR_EQ(output,ref,(float64_t)REL_ERROR); in test_chebyshev_distance_f64()
83 ASSERT_NEAR_EQ(output,ref,(float64_t)REL_ERROR); in test_cityblock_distance_f64()
128 ASSERT_NEAR_EQ(output,ref,(float64_t)REL_ERROR); in test_cosine_distance_f64()
147 ASSERT_NEAR_EQ(output,ref,(float64_t)REL_ERROR); in test_euclidean_distance_f64()
DFastMathF32.cpp19 #define REL_ERROR (1.0e-6) macro
60 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR); in test_cos_f32()
76 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR); in test_sin_f32()
95 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR); in test_sqrt_f32()
108 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR); in test_vlog_f32()
121 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR); in test_vexp_f32()
DBIQUADF16.cpp13 #define REL_ERROR (5.0e-2) macro
85 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_biquad_cascade_df1_ref()
148 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_biquad_cascade_df2T_ref()
224 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_biquad_cascade_df1_rand()
296 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_biquad_cascade_df2T_rand()
367 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_biquad_cascade_stereo_df2T_rand()
DBIQUADF32.cpp13 #define REL_ERROR (1.2e-3) macro
84 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_biquad_cascade_df1_ref()
158 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_biquad_cascade_df2T_ref()
235 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_biquad_cascade_df1_rand()
322 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_biquad_cascade_df2T_rand()
393 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_biquad_cascade_stereo_df2T_rand()
DBIQUADF64.cpp13 #define REL_ERROR (1.2e-3) macro
72 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_biquad_cascade_df2T_ref()
145 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_biquad_cascade_df2T_rand()
DComplexTestsF16.cpp7 #define REL_ERROR (6.0e-2) macro
21 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_conj_f16()
42 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_dot_prod_f16()
58 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mag_f16()
73 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mag_squared_f16()
89 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mult_cmplx_f16()
105 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mult_real_f16()
DComplexTestsF32.cpp7 #define REL_ERROR (7.0e-6) macro
21 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_conj_f32()
42 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_dot_prod_f32()
58 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mag_f32()
73 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mag_squared_f32()
89 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mult_cmplx_f32()
105 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_cmplx_mult_real_f32()
DDECIMF32.cpp13 #define REL_ERROR (8.0e-4) macro
67 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_fir_decimate_f32()
123 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_fir_interpolate_f32()
DBinaryTestsF64.cpp13 #define REL_ERROR (1.0e-6) macro
78 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_mat_mult_f64()
107 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR);
DBinaryTestsF16.cpp13 #define REL_ERROR (2.0e-3) macro
79 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_mat_mult_f16()
107 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_mat_cmplx_mult_f16()
DStatsTestsF32.cpp14 #define REL_ERROR (1.0e-5) macro
218 ASSERT_REL_ERROR(result,refp[this->refOffset],REL_ERROR); in test_mean_f32()
240 ASSERT_REL_ERROR(result,refp[this->refOffset],REL_ERROR); in test_power_f32()
262 ASSERT_REL_ERROR(result,refp[this->refOffset],REL_ERROR); in test_rms_f32()
284 ASSERT_REL_ERROR(result,refp[this->refOffset],REL_ERROR); in test_std_f32()
306 ASSERT_REL_ERROR(result,refp[this->refOffset],REL_ERROR); in test_var_f32()
371 ASSERT_REL_ERROR(ref,output,REL_ERROR); in test_entropy_f32()
391 ASSERT_REL_ERROR(ref,output,REL_ERROR); in test_logsumexp_f32()
413 ASSERT_REL_ERROR(ref,output,REL_ERROR); in test_kullback_leibler_f32()
435 ASSERT_REL_ERROR(ref,output,REL_ERROR); in test_logsumexp_dot_prod_f32()
[all …]
DBinaryTestsF32.cpp13 #define REL_ERROR (1.0e-6) macro
86 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_mat_mult_f32()
118 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_mat_cmplx_mult_f32()
DFastMathF64.cpp17 #define REL_ERROR (2.0e-16) macro
82 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR); in test_vlog_f64()
95 ASSERT_CLOSE_ERROR(ref,output,ABS_ERROR,REL_ERROR); in test_vexp_f64()
DExampleCategoryF32.cpp22 #define REL_ERROR (5.0e-6) macro
46 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_op_f32()
DUnaryTestsF16.cpp13 #define REL_ERROR (1.1e-3) macro
211 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_householder_f16()
212 ASSERT_CLOSE_ERROR(outputBeta,refBeta,ABS_ERROR,REL_ERROR); in test_householder_f16()
304 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_mat_vec_mult_f16()
331 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_mat_add_f16()
358 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_mat_sub_f16()
385 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_mat_scale_f16()
412 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_mat_trans_f16()
439 ASSERT_CLOSE_ERROR(output,ref,ABS_ERROR,REL_ERROR); in test_mat_cmplx_trans_f16()
DBayesF16.cpp6 #define REL_ERROR ((float16_t)3e-3) macro
28 ASSERT_REL_ERROR(outputProbas,probas,REL_ERROR); in test_gaussian_naive_bayes_predict_f16()
DFIRF64.cpp13 #define REL_ERROR (5.0e-14) macro
105 ASSERT_REL_ERROR(output,ref,REL_ERROR); in test_fir_f64()

12