Module rgsl::logarithm[][src]

Expand description

Information on the properties of the Logarithm function can be found in Abramowitz & Stegun, Chapter 4.

Functions

This routine computes the complex logarithm of z = z_r + i z_i. The results are returned as lnr, theta such that \exp(lnr + i \theta) = z_r + i z_i, where \theta lies in the range [-\pi,\pi].

This routine computes the logarithm of x, \log(x), for x > 0.

This routine computes \log(1 + x) for x > -1 using an algorithm that is accurate for small x.

This routine computes \log(1 + x) for x > -1 using an algorithm that is accurate for small x.

This routine computes \log(1 + x) - x for x > -1 using an algorithm that is accurate for small x.

This routine computes \log(1 + x) - x for x > -1 using an algorithm that is accurate for small x.

This routine computes the logarithm of the magnitude of x, \log(|x|), for x \ne 0.

This routine computes the logarithm of the magnitude of x, \log(|x|), for x \ne 0.

This routine computes the logarithm of x, \log(x), for x > 0.