Difference between revisions of "Manuals/calci/ODDSET"
Jump to navigation
Jump to search
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <div style="font-size:30px">'''ODDSET (Array | + | <div style="font-size:30px">'''ODDSET (Array) '''</div><br/> |
*<math>Array</math> is any set of values. | *<math>Array</math> is any set of values. | ||
==Description== | ==Description== | ||
*This function shows the odd set of values from the given set of values. | *This function shows the odd set of values from the given set of values. | ||
− | *In <math>ODDSET (Array | + | *In <math>ODDSET (Array)</math>, Array is the set of values and Every is any real number. |
*ODD SET shows the odd number of values. | *ODD SET shows the odd number of values. | ||
*Array of values are starting the numbering from 1 and so on. | *Array of values are starting the numbering from 1 and so on. | ||
− | *So from array of values | + | *So from the array of values, function will return the 1st,3rd,5th,7th,9th,11th values and so on. |
+ | |||
+ | ==Examples== | ||
+ | #ODDSET([1,2,3,4,5,6,7,8,9]) = 1 3 5 7 9 | ||
+ | #ODDSET([-10,-23,-12,65,11,65,100,17,34]) = -10 -12 11 100 34 | ||
+ | #ODDSET([20,30,40,50,10,-10,-20,-30,10]) = 20 40 10 -20 10 | ||
+ | |||
+ | ==Related Videos== | ||
+ | |||
+ | {{#ev:youtube|SFRTTUtAjg4|280|center|ODD}} | ||
+ | |||
+ | ==See Also== | ||
+ | *[[Manuals/calci/ODD | ODD ]] | ||
+ | *[[Manuals/calci/ODDS | ODDS ]] | ||
+ | *[[Z_API_Functions | List of Main Z Functions]] | ||
+ | *[[ Z3 | Z3 home ]] | ||
+ | |||
+ | ==References== | ||
+ | *[https://www.mathsisfun.com/numbers/even-odd.html Odds] | ||
+ | *[[Z_API_Functions | List of Main Z Functions]] | ||
+ | *[[ Z3 | Z3 home ]] |
Latest revision as of 06:00, 13 February 2019
ODDSET (Array)
- is any set of values.
Description
- This function shows the odd set of values from the given set of values.
- In , Array is the set of values and Every is any real number.
- ODD SET shows the odd number of values.
- Array of values are starting the numbering from 1 and so on.
- So from the array of values, function will return the 1st,3rd,5th,7th,9th,11th values and so on.
Examples
- ODDSET([1,2,3,4,5,6,7,8,9]) = 1 3 5 7 9
- ODDSET([-10,-23,-12,65,11,65,100,17,34]) = -10 -12 11 100 34
- ODDSET([20,30,40,50,10,-10,-20,-30,10]) = 20 40 10 -20 10