Searched refs:i0 (Results 1 – 4 of 4) sorted by relevance
/zscilib-3.4.0/src/physics/ |
D | eleccomp.c | 77 zsl_phy_ecmp_rc_charg_i(zsl_real_t r, zsl_real_t c, zsl_real_t t, zsl_real_t i0, in zsl_phy_ecmp_rc_charg_i() argument 80 if ((r * c) <= 0 || i0 < 0 || t < 0) { in zsl_phy_ecmp_rc_charg_i() 85 *i = i0 * ZSL_EXP(-t / (r * c)); in zsl_phy_ecmp_rc_charg_i() 106 zsl_real_t i0, zsl_real_t *i) in zsl_phy_ecmp_rc_discharg_i() argument 108 if ((r * c) <= 0 || i0 < 0 || t < 0) { in zsl_phy_ecmp_rc_discharg_i() 113 *i = -i0 * ZSL_EXP(-t / (r * c)); in zsl_phy_ecmp_rc_discharg_i() 133 zsl_phy_ecmp_rl_current(zsl_real_t r, zsl_real_t l, zsl_real_t t, zsl_real_t i0, in zsl_phy_ecmp_rl_current() argument 136 if (l <= 0 || i0 < 0 || t < 0 || r < 0) { in zsl_phy_ecmp_rl_current() 141 *i = i0 * (1.0 - ZSL_EXP(-(r * t) / l)); in zsl_phy_ecmp_rl_current()
|
D | sound.c | 26 zsl_phy_sound_level(zsl_real_t i, zsl_real_t i0, zsl_real_t *b) in zsl_phy_sound_level() argument 28 if (i < 0 || i0 < 0) { in zsl_phy_sound_level() 33 *b = 10 * ZSL_LOG10(i / i0); in zsl_phy_sound_level()
|
/zscilib-3.4.0/include/zsl/physics/ |
D | eleccomp.h | 129 zsl_real_t i0, zsl_real_t *i); 163 zsl_real_t i0, zsl_real_t *i); 196 zsl_real_t i0, zsl_real_t *i);
|
D | sound.h | 58 int zsl_phy_sound_level(zsl_real_t i, zsl_real_t i0, zsl_real_t *b);
|