📄 specfunc-log.texi
字号:
@cindex logarithm and related functionsInformation on the properties of the Logarithm function can be found inAbramowitz & Stegun, Chapter 4. The functions described in this sectionare declared in the header file @file{gsl_sf_log.h}.@deftypefun double gsl_sf_log (double @var{x})@deftypefunx int gsl_sf_log_e (double @var{x}, gsl_sf_result * @var{result})These routines compute the logarithm of @var{x}, @math{\log(x)}, for@math{x > 0}.@comment Exceptional Return Values: GSL_EDOM@end deftypefun@deftypefun double gsl_sf_log_abs (double @var{x})@deftypefunx int gsl_sf_log_abs_e (double @var{x}, gsl_sf_result * @var{result})These routines compute the logarithm of the magnitude of @var{x},@math{\log(|x|)}, for @math{x \ne 0}.@comment Exceptional Return Values: GSL_EDOM@end deftypefun@deftypefun int gsl_sf_complex_log_e (double @var{zr}, double @var{zi}, gsl_sf_result * @var{lnr}, gsl_sf_result * @var{theta})This routine computes the complex logarithm of @math{z = z_r + iz_i}. The results are returned as @var{lnr}, @var{theta} such that@math{\exp(lnr + i \theta) = z_r + i z_i}, where @math{\theta} lies inthe range @math{[-\pi,\pi]}.@comment Exceptional Return Values: GSL_EDOM@end deftypefun@deftypefun double gsl_sf_log_1plusx (double @var{x})@deftypefunx int gsl_sf_log_1plusx_e (double @var{x}, gsl_sf_result * @var{result})These routines compute @math{\log(1 + x)} for @math{x > -1} using analgorithm that is accurate for small @math{x}.@comment Domain: x > -1.0@comment Exceptional Return Values: GSL_EDOM@end deftypefun@deftypefun double gsl_sf_log_1plusx_mx (double @var{x})@deftypefunx int gsl_sf_log_1plusx_mx_e (double @var{x}, gsl_sf_result * @var{result})These routines compute @math{\log(1 + x) - x} for @math{x > -1} using analgorithm that is accurate for small @math{x}.@comment Domain: x > -1.0 @comment Exceptional Return Values: GSL_EDOM@end deftypefun
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -