Difference between revisions of "Manuals/calci/ODDSET"

From ZCubes Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div style="font-size:30px">'''ODDSET (Array,Every)  '''</div><br/>
+
<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,Every)</math>, Array is the set of values and Every is any real number.  
+
*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 function will return the 1st,3rd,5th,7th,9th,11th values and so on.
+
*So from the array of values, function will return the 1st,3rd,5th,7th,9th,11th values and so on.
  
 
==Examples==
 
==Examples==
#ODDSET([1,2,3,4,5,6,7,8,9],2) = 1 3 5 7 9
+
#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],4) = -10 -12 11 100 34
+
#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],3) = 20  40 10 -20 10
+
#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==
 
==See Also==

Latest revision as of 07: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

  1. ODDSET([1,2,3,4,5,6,7,8,9]) = 1 3 5 7 9
  2. ODDSET([-10,-23,-12,65,11,65,100,17,34]) = -10 -12 11 100 34
  3. ODDSET([20,30,40,50,10,-10,-20,-30,10]) = 20 40 10 -20 10

Related Videos

ODD

See Also

References