tablemean

Return the mean (average) of all values stored in a table from an associated table-handle variable.


Synopsis

table_average = tablemean(table_handle)


Description

tablemean returns the average of all float values found in the table from the table_handle variable. table_handle is instantiated using the maketable scorefile command.


Arguments


Examples

table = maketable("literal", "nonorm", 0, 10, 20, 30, 40)
table_average = tablemean(table) // returns 25

See Also

maketable, modtable, makefilter, makeconverter, plottable, dumptable, tablemin, tablemax, tablelen