Personal tools
You are here: Home Documentation Users Guide Appendix A: External Functions ELEMENT_INDEX
Document Actions

ELEMENT_INDEX

ELEMENT_INDEX(A, B) Returns index value in B for each value in A.

Arguments:
A
List of values

B

list of values to match




Result Axes:

X

Inherited from argument A


Y

Inherited from argument A


Z

Inherited from argument A


T

Inherited from argument A

Example



ELEMENT_INDEX(A, B) Returns index value in B for each point in A

Example

yes? LIST  ELEMENT_INDEX({6,5,4,3,2,1}, {1,2,3})
VARIABLE : ELEMENT_INDEX ({6,5,4,3,2,1}, {1,2,3})
SUBSET : 6 points (X)
1 / 1: ....
2 / 2: ....
3 / 3: ....
4 / 4: 3.000
5 / 5: 2.000
6 / 6: 1.000



Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: