Difference between revisions of "Manuals/calci/ELEMENTAT"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "ELEMENTAT")
 
 
(One intermediate revision by the same user not shown)
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
 +
 
 +
==Related Videos==
 +
 
 +
{{#ev:youtube|v=F37rd-BpVOo&t=10s|280|center|Elements-Matrix}}
 +
 
 +
==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 ]]

Latest revision as of 15:46, 10 January 2019

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

  1. ELEMENTAT([2,4,19,10,3,18,20,871,[123,10],1],[8,1]) = 10
  2. ELEMENTAT([2,4,19,10,3,18,20,871,123,101],4) = 3
  3. ELEMENTAT([10,12,14,13,11,9,7,8,4,5,32,-14,-23,5/6,7/8],11) = -14

Related Videos

Elements-Matrix

See Also

References