home *** CD-ROM | disk | FTP | other *** search
-
- _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
-
- log(x)
- log10(x)
- log2(x)
- exp(x)
-
- _D_e_s_c_r_i_p_t_i_o_n:
-
- log computes natural logarithms, log10 computes common
- logarithms log2 computes binary (i.e. base 2) loga-
- rithms and exp computes the exponential function.
-
- Each of these functions takes a single numeric or com-
- plex vector as argument and returns a vector of the
- same length containing the transformed values.
-
- _S_e_e _A_l_s_o:
-
- Trig, Math, Arithmetic.
-
- _E_x_a_m_p_l_e_s:
-
- log10(10^7) == 10^log10(7)
- log2(2^pi) == 2^log2(pi)
- Mod(pi - log(exp(pi*1i)) / 1i) < .Machine$double.eps
- Mod(1+exp(pi*1i)) < .Machine$double.eps
-
-