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 / double < prev    next >
Encoding:
Text File  |  1997-04-23  |  727 b   |  35 lines

  1.     
  2.     _D_o_u_b_l_e _P_r_e_c_i_s_i_o_n _V_e_c_t_o_r_s
  3.     
  4.          double(n=0)
  5.     
  6.          as.double(x)
  7.          is.double(x)
  8.     
  9.     _V_a_l_u_e:
  10.     
  11.          This function creates a double precision vector of the
  12.          specified length.  The elements of the vector are all
  13.          equal to 0.
  14.     
  15.          as.double attempts to coerce its argument to be of dou-
  16.          ble type.
  17.     
  18.          is.double returns TRUE or FALSE depending on whether
  19.          its argument is of double type or not.
  20.     
  21.     _N_o_t_e:
  22.     
  23.          R has no single precision data type.  All real numbers
  24.          are stored in double precision format'.
  25.     
  26.     _S_e_e _A_l_s_o:
  27.     
  28.          integer.
  29.     
  30.     _E_x_a_m_p_l_e_s:
  31.     
  32.          is.double(1)
  33.          all(double(3) == 0)
  34.     
  35.