Home
last modified time | relevance | path

Searched refs:err (Results 1 – 16 of 16) sorted by relevance

/zscilib-3.4.0/src/orientation/
Dcompass.c23 goto err; in zsl_comp_dms_to_dd()
29 goto err; in zsl_comp_dms_to_dd()
38 goto err; in zsl_comp_dms_to_dd()
51 err: in zsl_comp_dms_to_dd()
63 goto err; in zsl_comp_magn_north()
79 err: in zsl_comp_magn_north()
91 goto err; in zsl_comp_geo_north()
98 err: in zsl_comp_geo_north()
Dquaternions.c215 goto err; in zsl_quat_pow()
220 goto err; in zsl_quat_pow()
226 goto err; in zsl_quat_pow()
229 err: in zsl_quat_pow()
279 goto err; in zsl_quat_diff()
285 err: in zsl_quat_diff()
296 goto err; in zsl_quat_rot()
310 err: in zsl_quat_rot()
324 goto err; in zsl_quat_lerp()
350 err: in zsl_quat_lerp()
[all …]
Dahrs.c54 goto err; in zsl_att_from_accelmag()
78 err: in zsl_att_from_accelmag()
91 goto err; in zsl_att_from_accel()
109 err: in zsl_att_from_accel()
122 goto err; in zsl_att_accel_angle()
135 err: in zsl_att_accel_angle()
/zscilib-3.4.0/src/
Dinterp.c22 goto err; in zsl_interp_lerp()
28 err: in zsl_interp_lerp()
49 goto err; in zsl_interp_find_x()
60 goto err; in zsl_interp_find_x()
65 goto err; in zsl_interp_find_x()
95 err: in zsl_interp_find_x()
111 goto err; in zsl_interp_nn()
117 goto err; in zsl_interp_nn()
124 err: in zsl_interp_nn()
139 goto err; in zsl_interp_nn_arr()
[all …]
Dstatistics.c665 int zsl_sta_abs_err(zsl_real_t *val, zsl_real_t *exp_val, zsl_real_t *err) in zsl_sta_abs_err() argument
667 *err = ZSL_ABS(*val - *exp_val); in zsl_sta_abs_err()
672 int zsl_sta_rel_err(zsl_real_t *val, zsl_real_t *exp_val, zsl_real_t *err) in zsl_sta_rel_err() argument
674 *err = ZSL_ABS(100. * *val - 100. * *exp_val) / *exp_val; in zsl_sta_rel_err()
679 int zsl_sta_sta_err(struct zsl_vec *v, zsl_real_t *err) in zsl_sta_sta_err() argument
690 *err = ZSL_SQRT(var / v->sz); in zsl_sta_sta_err()
Dmatrices.c1056 goto err; in zsl_mtx_inv_3x3()
1062 goto err; in zsl_mtx_inv_3x3()
1078 err: in zsl_mtx_inv_3x3()
1217 goto err; in zsl_mtx_balance()
1268 err: in zsl_mtx_balance()
/zscilib-3.4.0/src/orientation/fusion/
Dsaam.c24 goto err; in zsl_fus_saam()
33 goto err; in zsl_fus_saam()
58 err: in zsl_fus_saam()
72 goto err; in zsl_fus_saam_init()
78 err: in zsl_fus_saam_init()
Dcomplementary.c26 goto err; in zsl_fus_comp()
31 goto err; in zsl_fus_comp()
75 err: in zsl_fus_comp()
91 goto err; in zsl_fus_comp_init()
97 err: in zsl_fus_comp_init()
Daqua.c27 goto err; in zsl_fus_aqua()
32 goto err; in zsl_fus_aqua()
141 err: in zsl_fus_aqua()
153 goto err; in zsl_fus_aqua_alpha_init()
171 err: in zsl_fus_aqua_alpha_init()
187 goto err; in zsl_fus_aqua_init()
193 err: in zsl_fus_aqua_init()
Dmahony.c28 goto err; in zsl_fus_mahony_imu()
33 goto err; in zsl_fus_mahony_imu()
110 err: in zsl_fus_mahony_imu()
126 goto err; in zsl_fus_mahony()
131 goto err; in zsl_fus_mahony()
264 err: in zsl_fus_mahony()
280 goto err; in zsl_fus_mahn_init()
286 err: in zsl_fus_mahn_init()
Dmadgwick.c24 goto err; in zsl_fus_madgwick_imu()
29 goto err; in zsl_fus_madgwick_imu()
99 err: in zsl_fus_madgwick_imu()
125 goto err; in zsl_fus_madgwick()
130 goto err; in zsl_fus_madgwick()
279 err: in zsl_fus_madgwick()
295 goto err; in zsl_fus_madg_init()
301 err: in zsl_fus_madg_init()
Dkalman.c27 goto err; in zsl_fus_kalman()
215 err: in zsl_fus_kalman()
228 goto err; in zsl_fus_kalm_quat_init()
260 err: in zsl_fus_kalm_quat_init()
272 goto err; in zsl_fus_kalm_P_init()
281 err: in zsl_fus_kalm_P_init()
297 goto err; in zsl_fus_kalm_init()
303 err: in zsl_fus_kalm_init()
Dcalibration.c58 goto err; in zsl_fus_cal_rot_mtx()
70 err: in zsl_fus_cal_rot_mtx()
82 goto err; in zsl_fus_cal_rot_axis_angle()
93 err: in zsl_fus_cal_rot_axis_angle()
444 goto err; in zsl_fus_cal_madg()
507 err: in zsl_fus_cal_madg()
524 goto err; in zsl_fus_cal_mahn()
594 err: in zsl_fus_cal_mahn()
/zscilib-3.4.0/src/colorimetry/
Dconv.c442 goto err; in zsl_clr_conv_spd_xyz()
467 goto err; in zsl_clr_conv_spd_xyz()
484 err: in zsl_clr_conv_spd_xyz()
623 goto err; in zsl_clr_conv_ct_uv60()
629 goto err; in zsl_clr_conv_ct_uv60()
633 err: in zsl_clr_conv_ct_uv60()
705 goto err; in zsl_clr_conv_ct_rgb8()
710 err: in zsl_clr_conv_ct_rgb8()
730 goto err; in zsl_clr_conv_ct_rgbf()
735 err: in zsl_clr_conv_ct_rgbf()
[all …]
/zscilib-3.4.0/include/zsl/
Dstatistics.h402 int zsl_sta_abs_err(zsl_real_t *val, zsl_real_t *exp_val, zsl_real_t *err);
414 int zsl_sta_rel_err(zsl_real_t *val, zsl_real_t *exp_val, zsl_real_t *err);
428 int zsl_sta_sta_err(struct zsl_vec *v, zsl_real_t *err);
/zscilib-3.4.0/tests/src/
Dstatistics_tests.c837 zsl_real_t val = 9.9985, exp_val = 10.0, err; in ZTEST() local
840 rc = zsl_sta_abs_err(&val, &exp_val, &err); in ZTEST()
842 zassert_true(val_is_equal(err, 0.0015, 1E-6), NULL); in ZTEST()
848 zsl_real_t val = 9.9985, exp_val = 10.0, err; in ZTEST() local
851 rc = zsl_sta_rel_err(&val, &exp_val, &err); in ZTEST()
853 zassert_true(val_is_equal(err, 0.015, 1E-5), NULL); in ZTEST()
862 zsl_real_t err; in ZTEST() local
871 rc = zsl_sta_sta_err(&v, &err); in ZTEST()
873 zassert_true(val_is_equal(err, 1.50554530542, 1E-6), NULL); in ZTEST()
877 rc = zsl_sta_sta_err(&w, &err); in ZTEST()