Icon class icon_class fas fa-quote-left icon_class_computed fas fa-quote-left Related content 01-Parts Tree: 1a-Parts Tree.sysml 01-Parts Tree: 1c-Parts Tree Redefinition.sysml [WITH MODELLING TIPS] Source OMG Kernel Modeling Language™ (KerML™) Version 1.0 Copyright information About Object Management Group copyright in text extracts quoted from OMG specifications for educational purposes Snippet kind INFO Keywords SysML2 Systems Modeling Language SysML Model-Based Systems Engineering MBSE Previous snippet The default behavior for this function is given by the specialization SequenceFunctions::'#', for which the first operand is expected to evaluate to a sequence of values, and the second operand is expected to evaluate to an index into that sequence. Full quote Default indexing is from 1 using Natural numbers. Note that parentheses are required around the second operand: sensors#(activeSensorIndex). Next snippet However, the behavior of the '#' operator is specialized for the OrderedCollection ... and Array ... data types from the Collections library model. In this case, the first operand must be a single value of one of these data types Related snippets An index expression specifies the invocation of the indexing function '#' from the BaseFunctions library model ... Related snippets (backlinks) For an Array, the second operand is a sequence of indexes whose size is the rank of the Array (i.e., the number of dimensions of the Array): detectorArray#(n, m) Visit also Visit also (backlinks) Flags