Lines Matching full:length
22 size_t length = ARRAY_SIZE(ref_norm); in ZTEST() local
28 output = malloc(length * sizeof(float32_t)); in ZTEST()
32 arm_quaternion_norm_f32(input, output, length); in ZTEST()
36 test_snr_error_f32(length, output, ref, SNR_ERROR_THRESH), in ZTEST()
40 test_close_error_f32(length, output, ref, in ZTEST()
50 size_t length = ARRAY_SIZE(ref_inv); in ZTEST() local
56 output = malloc(length * sizeof(float32_t)); in ZTEST()
60 arm_quaternion_inverse_f32(input, output, length / 4); in ZTEST()
64 test_snr_error_f32(length, output, ref, SNR_ERROR_THRESH), in ZTEST()
68 test_close_error_f32(length, output, ref, in ZTEST()
78 size_t length = ARRAY_SIZE(ref_conj); in ZTEST() local
84 output = malloc(length * sizeof(float32_t)); in ZTEST()
88 arm_quaternion_conjugate_f32(input, output, length / 4); in ZTEST()
92 test_snr_error_f32(length, output, ref, SNR_ERROR_THRESH), in ZTEST()
96 test_close_error_f32(length, output, ref, in ZTEST()
106 size_t length = ARRAY_SIZE(ref_normalize); in ZTEST() local
112 output = malloc(length * sizeof(float32_t)); in ZTEST()
116 arm_quaternion_normalize_f32(input, output, length / 4); in ZTEST()
120 test_snr_error_f32(length, output, ref, SNR_ERROR_THRESH), in ZTEST()
124 test_close_error_f32(length, output, ref, in ZTEST()
135 size_t length = ARRAY_SIZE(ref_mult); in ZTEST() local
142 output_buf = malloc(length * sizeof(float32_t)); in ZTEST()
148 for (index = 0; index < (length / 4); index++) { in ZTEST()
158 test_snr_error_f32(length, output_buf, ref, SNR_ERROR_THRESH), in ZTEST()
162 test_close_error_f32(length, output_buf, ref, in ZTEST()
172 size_t length = ARRAY_SIZE(ref_mult); in ZTEST() local
179 output = malloc(length * sizeof(float32_t)); in ZTEST()
183 arm_quaternion_product_f32(input1, input2, output, length / 4); in ZTEST()
187 test_snr_error_f32(length, output, ref, SNR_ERROR_THRESH), in ZTEST()
191 test_close_error_f32(length, output, ref, in ZTEST()
201 size_t length = ARRAY_SIZE(ref_quat2rot); in ZTEST() local
207 output = malloc(length * sizeof(float32_t)); in ZTEST()
215 test_snr_error_f32(length, output, ref, SNR_ERROR_THRESH), in ZTEST()
219 test_close_error_f32(length, output, ref, in ZTEST()
229 size_t length = ARRAY_SIZE(ref_rot2quat); in ZTEST() local
235 output = malloc(length * sizeof(float32_t)); in ZTEST()
242 for (float32_t *ptr = output; ptr < (output + length); ptr += 4) { in ZTEST()
253 test_snr_error_f32(length, output, ref, SNR_ERROR_THRESH), in ZTEST()
257 test_close_error_f32(length, output, ref, in ZTEST()