Delila Program: power

power program

Documentation for the power program is below, with links to related programs in the "see also" section.

{   version = 1.00; (* of power.p 2012 Jun 18}

(* begin module describe.power *)
(*
name
   power: raise powerp value to the input value

synopsis
   power(input: in, powerp: in, output: out)

files

   input:  a series of numbers, one per line

   output:  base raised to each number

   powerp:  parameters to control the program.  The file must contain the
      following parameters, one per line:

      parameterversion: The version number of the program.  This allows the
         user to be warned if an old parameter file is used.

      base: the base to use

      wid: integer width in characters of output numbers

      dec: integer decimal places of output numbers

   output:

description

   The purpose and use of the program.

examples

   If the base is 2 (defined in powerp) with width 10 and 6 decimal
   places and the input file contains:

      1
      2
      3
      4
      5
      6

   The output will be:

  2.000000
  4.000000
  8.000000
 16.000000
 32.000000
 64.000000

documentation

see also

author

   Thomas Dana Schneider

bugs

technical notes

*)
(* end module describe.power *)
{This manual page was created by makman 1.45}

{created by htmlink 1.62}
U.S. Department of Health and Human Services  |  National Institutes of Health  |  National Cancer Institute  |  USA.gov  | 
Policies  |  Viewing Files  |  Accessibility  |  FOIA