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 / nextn < prev    next >
Encoding:
Text File  |  1997-04-23  |  684 b   |  26 lines

  1.     
  2.     _H_i_g_h_l_y _C_o_m_p_o_s_i_t_e _N_u_m_b_e_r_s
  3.     
  4.          nextn(n, factors=c(2,3,5))
  5.     
  6.     _A_r_g_u_m_e_n_t_s:
  7.     
  8.                n : an integer.
  9.     
  10.          factors : a vector of positive integer factors.
  11.     
  12.     _D_e_s_c_r_i_p_t_i_o_n:
  13.     
  14.          nextn returns the smallest integer, greater than or
  15.          equal to n, which can be obtained as a product of
  16.          powers of the values contained in factors.  nextn is
  17.          intended to be used to find a suitable length to zero-
  18.          pad the argument of fft to so that the transform is
  19.          computed quickly.  The default value for factors
  20.          ensures this.
  21.     
  22.     _S_e_e _A_l_s_o:
  23.     
  24.          convolve, fft.
  25.     
  26.