home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Educational / R-0.49-MI / R-0.49-I / help / base / Log < prev    next >
Encoding:
Text File  |  1997-04-23  |  788 b   |  30 lines

  1.     
  2.     _L_o_g_a_r_i_t_h_m_s _a_n_d _E_x_p_o_n_e_n_t_i_a_l_s
  3.     
  4.          log(x)
  5.          log10(x)
  6.          log2(x)
  7.          exp(x)
  8.     
  9.     _D_e_s_c_r_i_p_t_i_o_n:
  10.     
  11.          log computes natural logarithms, log10 computes common
  12.          logarithms log2 computes binary (i.e. base 2) loga-
  13.          rithms and exp computes the exponential function.
  14.     
  15.          Each of these functions takes a single numeric or com-
  16.          plex vector as argument and returns a vector of the
  17.          same length containing the transformed values.
  18.     
  19.     _S_e_e _A_l_s_o:
  20.     
  21.          Trig, Math, Arithmetic.
  22.     
  23.     _E_x_a_m_p_l_e_s:
  24.     
  25.          log10(10^7) == 10^log10(7)
  26.          log2(2^pi) == 2^log2(pi)
  27.          Mod(pi - log(exp(pi*1i)) / 1i) < .Machine$double.eps
  28.          Mod(1+exp(pi*1i)) < .Machine$double.eps
  29.     
  30.