ladiv2#
Functions
-
f32 sladiv2(const f32 a, const f32 b, const f32 c, const f32 d, const f32 r, const f32 t)#
SLADIV2 is a helper routine for SLADIV1, performing part of complex division using the Baudin-Smith algorithm.
This function computes (A + B*R) * T or (A + D*(B/C)) * T depending on the value of R. It is part of the robust complex division algorithm described in “A Robust Complex Division in Scilab” by Baudin and Smith.
Parameters
inaDouble precision scalar.
inbDouble precision scalar.
incDouble precision scalar.
indDouble precision scalar.
inrDouble precision scalar, precomputed as D/C.
intDouble precision scalar, precomputed as 1/(C + D*R).
f32 sladiv2(
const f32 a,
const f32 b,
const f32 c,
const f32 d,
const f32 r,
const f32 t
);
Functions
-
f64 dladiv2(const f64 a, const f64 b, const f64 c, const f64 d, const f64 r, const f64 t)#
DLADIV2 is a helper routine for DLADIV1, performing part of complex division using the Baudin-Smith algorithm.
This function computes (A + B*R) * T or (A + D*(B/C)) * T depending on the value of R. It is part of the robust complex division algorithm described in “A Robust Complex Division in Scilab” by Baudin and Smith.
Parameters
inaDouble precision scalar.
inbDouble precision scalar.
incDouble precision scalar.
indDouble precision scalar.
inrDouble precision scalar, precomputed as D/C.
intDouble precision scalar, precomputed as 1/(C + D*R).
f64 dladiv2(
const f64 a,
const f64 b,
const f64 c,
const f64 d,
const f64 r,
const f64 t
);