Difference between revisions of "Manuals/calci/TOPN"
Jump to navigation
Jump to search
(One intermediate revision by one other user not shown) | |||
Line 12: | Line 12: | ||
#TOPN([1.2,8.001,2.8,10,4.001,6,2],0) = 1.2 | #TOPN([1.2,8.001,2.8,10,4.001,6,2],0) = 1.2 | ||
#TOPN([100,12,31,89,12,17,19],10)= 100 12 31 89 12 17 19 | #TOPN([100,12,31,89,12,17,19],10)= 100 12 31 89 12 17 19 | ||
+ | |||
+ | ==Related Videos== | ||
+ | |||
+ | {{#ev:youtube|v=En68ipRaFOU|280|center|Top Numbers}} | ||
==See Also== | ==See Also== | ||
Line 25: | Line 29: | ||
− | [[Z_API_Functions | List of Main Z Functions]] | + | *[[Z_API_Functions | List of Main Z Functions]] |
− | [[ Z3 | Z3 home ]] | + | *[[ Z3 | Z3 home ]] |
Latest revision as of 14:45, 3 December 2018
TOPN (Array,n)
- is the set of numbers.
- is the number.
Description
- This function shows the starting 'n' values of the given array.
- In , is the set of values and is the number of the value.
- shows the first 'n' values from the given set of values.
Examples
- TOPN([20,13,17,19,22,26,32,56,45,10,98,112,134,201],6) = 20 13 17 19 22 26
- TOPN([1.2,8.001,2.8,10,4.001,6,2],0) = 1.2
- TOPN([100,12,31,89,12,17,19],10)= 100 12 31 89 12 17 19
Related Videos
See Also
References