Difference between revisions of "Manuals/calci/TOP"
Jump to navigation
Jump to search
(Created page with "TOP") |
|||
Line 1: | Line 1: | ||
− | TOP | + | <div style="font-size:30px">'''TOP (Array,Count)'''</div>< |
+ | *<math>Array</math> is the set of values. | ||
+ | *<math>Count</math> is the number to display. | ||
+ | |||
+ | ==Description== | ||
+ | *This function is showing uppermost numbers. | ||
+ | *In <math>TOP(Array,Count)</math>, <math>Array</math> is the set of numbers. | ||
+ | *<math>Count</math> is the number of numbers to display. | ||
+ | *Top function is displaying the uppermost numbers from the array list with the given count numbers. | ||
+ | *It will consider the string and empty space also to display. | ||
+ | |||
+ | ==Examples== | ||
+ | #TOP([1,3,91,16,26,90],3) = 1 3 91 | ||
+ | #TOP([2.1,69.1,24.6,71.2,90.001,43.32,66.006,18.88,45.21],6) = 2.1 69.1 24.6 71.2 90.001 43.32 | ||
+ | #TOP([12/7,,17/8,19/3,7/8,,10/7],4) = 1.7142857142857142 null 2.125 6.333333333333333 | ||
+ | |||
+ | ==See Also== | ||
+ | *[[Manuals/calci/TOPN | TOPN ]] | ||
+ | *[[Z_API_Functions | List of Main Z Functions]] | ||
+ | *[[ Z3 | Z3 home ]] | ||
+ | |||
+ | ==References== | ||
+ | *[[Z_API_Functions | List of Main Z Functions]] | ||
+ | |||
+ | *[[ Z3 | Z3 home ]] |
Revision as of 13:14, 21 March 2017
TOP (Array,Count)
<
- is the set of values.
- is the number to display.
Description
- This function is showing uppermost numbers.
- In , is the set of numbers.
- is the number of numbers to display.
- Top function is displaying the uppermost numbers from the array list with the given count numbers.
- It will consider the string and empty space also to display.
Examples
- TOP([1,3,91,16,26,90],3) = 1 3 91
- TOP([2.1,69.1,24.6,71.2,90.001,43.32,66.006,18.88,45.21],6) = 2.1 69.1 24.6 71.2 90.001 43.32
- TOP([12/7,,17/8,19/3,7/8,,10/7],4) = 1.7142857142857142 null 2.125 6.333333333333333