Difference between revisions of "Manuals/calci/EVENSET"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "evenset")
 
Line 1: Line 1:
evenset
+
<div style="font-size:30px">'''EVENSET (Array,Every)'''</div><br/>
 +
*<math>Array</math> is the set of values.
 +
*<math>Every</math> is any real number.
 +
 
 +
==Description==
 +
*This function shows even number of values from the given set.
 +
*In <math>EVENSET (Array,Every)</math>, <math>Array</math> is the set of values.
 +
*<math>Every</math> is the number 1 or 2.
 +
*Here it is showing the even number of values.
 +
*That means it is starting from the initial number and 2nd,4th,6th value and so on.
 +
*Here Skip value is automatically adjusted for even set of numbers.
 +
 
 +
==Examples==
 +
#EVENSET([2,3,1,4,9,12,65,23,10,5,17],1) = 2 3 4 12 23 5
 +
#EVENSET([12,22,32,33,44,43,55.66,67.2,10,-14,-12,-7,13],1) = 12 22 33 43 67.2 -14 -7
 +
#EVENSET([0,-1,-4,3/2,6/7,10],2) = 0 -1 1.5 10
 +
 
 +
==See Also==
 +
 
 +
*[[Manuals/calci/EVERYSET | EVERYSET ]]
 +
*[[Manuals/calci/INSET | INSET ]]
 +
*[[Manuals/calci/DISTINCTSET | DISTINCTSET ]]
 +
 
 +
==References==
 +
*[http://mathcentral.uregina.ca/qq/database/qq.09.06/narayana1.html Sets]
 +
 
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
*[[ Z3 |  Z3 home ]]

Revision as of 14:28, 23 May 2017

EVENSET (Array,Every)


  • is the set of values.
  • is any real number.

Description

  • This function shows even number of values from the given set.
  • In , is the set of values.
  • is the number 1 or 2.
  • Here it is showing the even number of values.
  • That means it is starting from the initial number and 2nd,4th,6th value and so on.
  • Here Skip value is automatically adjusted for even set of numbers.

Examples

  1. EVENSET([2,3,1,4,9,12,65,23,10,5,17],1) = 2 3 4 12 23 5
  2. EVENSET([12,22,32,33,44,43,55.66,67.2,10,-14,-12,-7,13],1) = 12 22 33 43 67.2 -14 -7
  3. EVENSET([0,-1,-4,3/2,6/7,10],2) = 0 -1 1.5 10

See Also

References