Home
last modified time | relevance | path

Searched refs:mz (Results 1 – 4 of 4) sorted by relevance

/zscilib-3.4.0/tests/src/
Dphy_mass_tests.c19 zsl_real_t mx, my, mz; in ZTEST() local
37 rc = zsl_phy_mass_center(&m1, &x1, &y1, &z1, &mx, &my, &mz); in ZTEST()
41 zassert_true(val_is_equal(mz, 2.0, 1E-6), NULL); in ZTEST()
59 rc = zsl_phy_mass_center(&m2, &x2, &y2, &z2, &mx, &my, &mz); in ZTEST()
63 zassert_true(val_is_equal(mz, 3.458547009, 1E-6), NULL); in ZTEST()
81 rc = zsl_phy_mass_center(&m3, &x3, &y3, &z3, &mx, &my, &mz); in ZTEST()
86 zassert_true(mz != mz, NULL); in ZTEST()
104 rc = zsl_phy_mass_center(&m4, &x4, &y4, &z4, &mx, &my, &mz); in ZTEST()
109 zassert_true(mz != mz, 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/
Dmass.c16 zsl_real_t *my, zsl_real_t *mz) in zsl_phy_mass_center() argument
32 *mz = NAN; in zsl_phy_mass_center()
62 *mz = NAN; in zsl_phy_mass_center()
72 *mz = NAN; in zsl_phy_mass_center()
78 *mz = mtz / mt; in zsl_phy_mass_center()
/zscilib-3.4.0/include/zsl/physics/
Dmass.h49 zsl_real_t *my, zsl_real_t *mz);
/zscilib-3.4.0/samples/orientation/hwtester/
DREADME.rst51 ns, ax, ay, az, mx, my, mz, gz, gy, gz, temp_c