Home
last modified time | relevance | path

Searched refs:ZSL_SIN (Results 1 – 13 of 13) sorted by relevance

/zscilib-3.4.0/src/orientation/
Dgravity.c21 *g = 9.780318 * (1.0 + 0.0053024 * ZSL_SIN(lat * d_to_r) * in zsl_grav_lat_alt()
22 ZSL_SIN(lat * d_to_r) - 0.0000058 * ZSL_SIN(2.0 * lat * d_to_r) * in zsl_grav_lat_alt()
23 ZSL_SIN(2.0 * lat * d_to_r)) - 0.000003085 * alt; in zsl_grav_lat_alt()
Dahrs.c66 zsl_real_t nom = mag_unit.data[2] * ZSL_SIN(att.pitch * ZSL_DEG_TO_RAD) - in zsl_att_from_accelmag()
69 ZSL_SIN(att.roll * ZSL_DEG_TO_RAD) * in zsl_att_from_accelmag()
70 (mag_unit.data[1] * ZSL_SIN(att.pitch * ZSL_DEG_TO_RAD) + in zsl_att_from_accelmag()
Dquaternions.c165 vsin = ZSL_SIN(vmag); in zsl_quat_exp()
429 phi_s = ZSL_SIN(phi); in zsl_quat_slerp()
430 phi_st = ZSL_SIN(phi * t); in zsl_quat_slerp()
431 phi_smt = ZSL_SIN(phi * (1.0 - t)); in zsl_quat_slerp()
550 zsl_real_t roll_s = ZSL_SIN(e->x * 0.5); in zsl_quat_from_euler()
552 zsl_real_t pitch_s = ZSL_SIN(e->y * 0.5); in zsl_quat_from_euler()
554 zsl_real_t yaw_s = ZSL_SIN(e->z * 0.5); in zsl_quat_from_euler()
704 q->i = an.data[0] * ZSL_SIN(*b / 2.0); in zsl_quat_from_axis_angle()
705 q->j = an.data[1] * ZSL_SIN(*b / 2.0); in zsl_quat_from_axis_angle()
706 q->k = an.data[2] * ZSL_SIN(*b / 2.0); in zsl_quat_from_axis_angle()
/zscilib-3.4.0/src/physics/
Doptics.c28 zsl_real_t o = (n1 * ZSL_SIN(o1)) / n2; in zsl_phy_opt_snell()
35 *o2 = ZSL_ASIN((n1 * ZSL_SIN(o1)) / n2); in zsl_phy_opt_snell()
95 if (lambda < 0 || ZSL_SIN(o) <= 0) { in zsl_phy_opt_dif()
100 *d = ((zsl_real_t) n * lambda) / ZSL_SIN(o); in zsl_phy_opt_dif()
Dmagnetics.c21 *f = q * v * b * ZSL_SIN(theta); in zsl_phy_magn_force()
35 *f = i * l * b * ZSL_SIN(theta); in zsl_phy_magn_force_wire()
49 *tor = i * a * b * ZSL_SIN(theta); in zsl_phy_magn_torque_loop()
Dwork.c50 *w *= ZSL_SIN(theta); in zsl_phy_work_y()
Datomic.c93 *d = ((zsl_real_t) n * lambda) / (2.0 * ZSL_SIN(theta)); in zsl_phy_atom_bragg()
Dprojectiles.c17 *viv = vi * ZSL_SIN(theta); in zsl_phy_proj_init_vel()
/zscilib-3.4.0/include/zsl/
Dzsl.h68 #define ZSL_SIN sinf macro
92 #define ZSL_SIN sin macro
/zscilib-3.4.0/src/orientation/fusion/
Dmahony.c196 bz = ZSL_SIN(*incl * ZSL_PI / 180.0); in zsl_fus_mahony()
Dmadgwick.c215 bz = ZSL_SIN(*incl * ZSL_PI / 180.0); in zsl_fus_madgwick()
Dkalman.c113 mg.k = ZSL_SIN(*incl * ZSL_PI / 180.0); in zsl_fus_kalman()
/zscilib-3.4.0/src/
Dmatrices.c230 m->data[i] = ZSL_SIN(m->data[i]); in zsl_mtx_unary_op()