Difference between revisions of "Manuals/calci/ELEMENTAT"
Jump to navigation
Jump to search
(Created page with "ELEMENTAT") |
|||
| Line 1: | Line 1: | ||
| − | ELEMENTAT | + | <div style="font-size:30px">'''ELEMENTAT (Array,PositionArrayVector)'''</div><br/> |
| + | *<math>Array</math> is the set of values. | ||
| + | *<math>PositionArrayVector </math> position of the values. | ||
| + | |||
| + | ==Description== | ||
| + | *This function shows the element with the desired position. | ||
| + | *In <math>ELEMENTAT (Array,PositionArrayVector)</math>,<math>Array</math> is the set of values. | ||
| + | *<math>PositionArrayVector</math> is the place value of the number in the given set. | ||
| + | *In the given set,position of the numbers start from 0,1,2,3 and so on. | ||
| + | *For example, we need 7th position from the set,then this function will show the number in the 7th position. | ||
| + | |||
| + | ==Examples== | ||
| + | #ELEMENTAT([2,4,19,10,3,18,20,871,[123,10],1],[8,1]) = 10 | ||
| + | #ELEMENTAT([2,4,19,10,3,18,20,871,123,101],4) = 3 | ||
| + | #ELEMENTAT([10,12,14,13,11,9,7,8,4,5,32,-14,-23,5/6,7/8],11) = -14 | ||
| + | |||
| + | ==See Also== | ||
| + | *[[Manuals/calci/ISELEMENTLIKECOMPLEX | ISELEMENTLIKECOMPLEX ]] | ||
| + | *[[Manuals/calci/ELEMENTINARRAY | ELEMENTINARRAY ]] | ||
| + | *[[Manuals/calci/ELEMENTDIS | ELEMENTDIS ]] | ||
| + | |||
| + | ==References== | ||
| + | *[https://www.w3schools.com/js/js_arrays.asp Element in Array] | ||
| + | |||
| + | |||
| + | *[[Z_API_Functions | List of Main Z Functions]] | ||
| + | |||
| + | *[[ Z3 | Z3 home ]] | ||
Revision as of 13:40, 23 May 2017
ELEMENTAT (Array,PositionArrayVector)
- is the set of values.
- position of the values.
Description
- This function shows the element with the desired position.
- In , is the set of values.
- is the place value of the number in the given set.
- In the given set,position of the numbers start from 0,1,2,3 and so on.
- For example, we need 7th position from the set,then this function will show the number in the 7th position.
Examples
- ELEMENTAT([2,4,19,10,3,18,20,871,[123,10],1],[8,1]) = 10
- ELEMENTAT([2,4,19,10,3,18,20,871,123,101],4) = 3
- ELEMENTAT([10,12,14,13,11,9,7,8,4,5,32,-14,-23,5/6,7/8],11) = -14
See Also
References