Searched refs:rty (Results 1 – 3 of 3) sorted by relevance
/zscilib-3.4.0/tests/src/ |
D | phy_elcty_tests.c | 146 zsl_real_t rty; in ZTEST() local 148 rc = zsl_phy_elcty_resistivity(250.0, 0.025, 0.001, &rty); in ZTEST() 150 zassert_true(val_is_equal(rty, 6250.0, 1E-6), NULL); in ZTEST() 153 rc = zsl_phy_elcty_resistivity(-250.0, 0.025, 0.001, &rty); in ZTEST() 156 zassert_true(rty != rty, NULL); in ZTEST() 159 rc = zsl_phy_elcty_resistivity(250.0, -0.025, 0.001, &rty); in ZTEST() 162 zassert_true(rty != rty, NULL); in ZTEST() 165 rc = zsl_phy_elcty_resistivity(250.0, 0.025, -0.001, &rty); in ZTEST() 168 zassert_true(rty != rty, NULL); in ZTEST()
|
/zscilib-3.4.0/src/physics/ |
D | electricity.c | 105 zsl_phy_elcty_resistivity(zsl_real_t r, zsl_real_t a, zsl_real_t l, zsl_real_t *rty) in zsl_phy_elcty_resistivity() argument 108 *rty = NAN; in zsl_phy_elcty_resistivity() 112 *rty = r * (a / l); in zsl_phy_elcty_resistivity()
|
/zscilib-3.4.0/include/zsl/physics/ |
D | electricity.h | 111 zsl_real_t *rty);
|