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 / rev < prev    next >
Encoding:
Text File  |  1997-04-23  |  375 b   |  17 lines

  1.     
  2.     _R_e_v_e_r_s_e _a _V_e_c_t_o_r'_s _E_l_e_m_e_n_t_s
  3.     
  4.          rev(x)
  5.     
  6.     _D_e_s_c_r_i_p_t_i_o_n:
  7.     
  8.          rev provides a reversed version of its argument.  It
  9.          can be used in combination with sort to obtain vectors
  10.          sorted into descending order.
  11.     
  12.     _E_x_a_m_p_l_e_s:
  13.     
  14.          # sort into descending order
  15.          rev(sort(x))
  16.     
  17.