Logarithm and Related Functions¶
Information on the properties of the Logarithm function can be found in Abramowitz & Stegun, Chapter 4.
-
gsl_sf_log
(x)¶ This routine computes the logarithm of \(x\), \(\log(x)\), for \(x > 0\).
-
gsl_sf_log_abs
(x)¶ This routine computes the logarithm of the magnitude of \(x\), \(\log(|x|)\), for \(x \ne 0\).
-
gsl_sf_log_1plusx
(x)¶ This routine computes \(\log(1 + x)\) for \(x > -1\) using an algorithm that is accurate for small \(x\).
-
gsl_sf_log_1plusx_mx
(x)¶ This routine computes \(\log(1 + x) - x\) for \(x > -1\) using an algorithm that is accurate for small \(x\).