NUMNORMALIZE(1) User Contributed Perl Documentation NUMNORMALIZE(1)NAME
numnormalize - Normalize a set of numbers. By default between 0 and 1.
SYNOPSIS
numnormalize [-dhRV] <FILE>
| numnormalize [-dhRV] (Input on STDIN from pipeline.)
numnormalize [-dhRV] (Input on STDIN. Use Ctrl-D to stop.)
DESCRIPTION
numnormalize will take a set of numbers on input and return that set as a normalized set of numbers between 0 and 1 by default. Or you can
use the -R option to specify a different normalized range.
OPTIONS -h Help: You're looking at it.
-V Increase verbosity.
-d Debug mode. For developers
-R <range> This allows you to specify a different normalized range instead of from 0 to 1.
For example -R 0..5
SEE ALSO numaverage(1), numbound(1), numinterval(1), numgrep(1), numprocess(1), numsum(1), numrandom(1), numrange(1), numround(1)COPYRIGHT
numnormalize is part of the num-utils package, which is copyrighted by Suso Banderas and released under the GPL license. Please read the
COPYING and LICENSE files that came with the num-utils package
Developers can read the GOALS file and contact me about providing
submitions or help for the project.
MORE INFO
More info on numnormalize can be found at:
http://suso.suso.org/programs/num-utils/
perl v5.10.1 2009-10-31 NUMNORMALIZE(1)
Check Out this Related Man Page
NUMAVERAGE(1) User Contributed Perl Documentation NUMAVERAGE(1)NAME
numaverage - Find the average of a set of numbers.
SYNOPSIS
numaverage [-dhiIlmMV] <FILE>
| numaverage [-dhiIlmMV] (Input on STDIN from pipeline.)
numaverage [-dhiIlmMV] (Input on STDIN. Use Ctrl-D to stop.)
DESCRIPTION
By default numaverage will determine the average from all numbers on input. Other options allow you to find the mode and median.
OPTIONS -i Only return the integer portion of the final sum.
-I Only return the decimal portion of the final sum
-m Find the mode (most occuring) of the list of numbers,
or when there's more than one mode, the first completed mode.
-M Find the median (middle number) of the list of numbers.
-l When finding the median and the count of numbers in the set is even,
use the lower middle number instead of the upper middle number.
-h Help: You're looking at it.
-V Increase verbosity.
-d Debug mode. For developers
SEE ALSO numbound(1), numinterval(1), numnormalize(1), numgrep(1), numprocess(1), numsum(1), numrandom(1), numrange(1), numround(1)COPYRIGHT
numaverage is part of the num-utils package, which is copyrighted by Suso Banderas and released under the GPL license. Please read the
COPYING and LICENSE files that came with the num-utils package
Developers can read the GOALS file and contact me about providing
submitions or help for the project.
MORE INFO
More info on numaverage can be found at:
http://suso.suso.org/programs/num-utils/
perl v5.10.1 2009-10-31 NUMAVERAGE(1)
Hi Experts,
Need help on printing of numbers, which are missing in the range.
Pls find the details below
Input
1000000002
1000000007
1234007940
1234007946
Output
1000000003
1000000004
1000000005
1000000006
1234007941 (2 Replies)
Must be organized to function as one-dimensional array, leaving in place the zero elements.:( have the code but it gives an error...PATH=./
echo -n "Enter dimension of a array:"
read n
read enter
a=0
while
do
a=$
read m$a
read enter
done
a=0
while
... (8 Replies)