Navigation

  • index
  • next |
  • previous |
  • MP »
  • AMPL Bindings for the GNU Scientific Library »
  • Special Functions »
  • Logarithm and Related Functions

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\).

Previous topic

Legendre Functions and Spherical Harmonics

Next topic

Mathieu Functions

Quick search

Enter search terms or a function name.

Navigation

  • index
  • next |
  • previous |
  • MP »
  • AMPL Bindings for the GNU Scientific Library »
  • Special Functions »
  • Logarithm and Related Functions
© Copyright 2022 AMPL Optimization, Inc. Created using Sphinx 5.3.0.