Searched refs:mx (Results 1 – 4 of 4) sorted by relevance
/zscilib-3.4.0/tests/src/ |
D | phy_mass_tests.c | 19 zsl_real_t mx, my, mz; in ZTEST() local 37 rc = zsl_phy_mass_center(&m1, &x1, &y1, &z1, &mx, &my, &mz); in ZTEST() 39 zassert_true(val_is_equal(mx, 1.0, 1E-6), NULL); in ZTEST() 59 rc = zsl_phy_mass_center(&m2, &x2, &y2, &z2, &mx, &my, &mz); in ZTEST() 61 zassert_true(val_is_equal(mx, 3.176923077, 1E-6), NULL); in ZTEST() 81 rc = zsl_phy_mass_center(&m3, &x3, &y3, &z3, &mx, &my, &mz); in ZTEST() 84 zassert_true(mx != mx, NULL); in ZTEST() 104 rc = zsl_phy_mass_center(&m4, &x4, &y4, &z4, &mx, &my, &mz); in ZTEST() 107 zassert_true(mx != mx, NULL); in ZTEST() 127 rc = zsl_phy_mass_center(&m5, &x5, &y5, &z5, &mx, &my, &mz); in ZTEST() [all …]
|
/zscilib-3.4.0/src/physics/ |
D | mass.c | 15 struct zsl_vec *y, struct zsl_vec *z, zsl_real_t *mx, in zsl_phy_mass_center() argument 30 *mx = NAN; in zsl_phy_mass_center() 60 *mx = NAN; in zsl_phy_mass_center() 70 *mx = NAN; in zsl_phy_mass_center() 76 *mx = mtx / mt; in zsl_phy_mass_center()
|
/zscilib-3.4.0/include/zsl/physics/ |
D | mass.h | 48 struct zsl_vec *y, struct zsl_vec *z, zsl_real_t *mx,
|
/zscilib-3.4.0/samples/orientation/hwtester/ |
D | README.rst | 51 ns, ax, ay, az, mx, my, mz, gz, gy, gz, temp_c
|