home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume10 / ifp / part01 / fproot / demo / %DOC next >
Encoding:
Text File  |  1987-07-05  |  1012 b   |  27 lines

  1. This directory contains demonstration functions.  To use one, enter the
  2. IFP command
  3.  
  4.      show input : function ;
  5.  
  6. where input is an appropriate object and function is one of the functions below:
  7.  
  8.      Abs - absolute value of a number
  9.      cotan - find trigonometric cotangent of angle expressed in radians
  10.      Debug - version of Fib with debugging messages
  11.      Double - double a number
  12.      Euler - Euler totient (phi) function
  13.      Fib - find first n fibonacci numbers
  14.      Inner - find inner product of two vectors
  15.      Inter - set intersection
  16.      Member - set membership
  17.      PigLatin - converts sequence of words to Pig Latin
  18.      PasTri - find first n rows of Pascal's triangle
  19.      QuickSort - sort a sequence of numbers or sequence of strings
  20.      Square - square a number
  21.      Vowel - determine if a string is a vowel     
  22.  
  23. All IFP primitives are imported into this directory also, so you can
  24. experiment with them.  Look in %IMPORT for their names.  The functions
  25. are detailed in the file \IFP.TXT
  26.  
  27.