71
VisionNavi User Manual
Chapter 2
Tool
[Manipulation (operation)]
[Selection (Selection operation)]
[Sets (Set operation)]
Function name Overview
Example of use
insert
Inserts one or more elements into a tuple
at index.
tuple_insert (T1, 1, ['x','y','z'],
T2)
remove
Remove elements from a tuple.
Reduced := remove(Tuple,
Index)
replace
Replaces one or more elements of a tuple.
Replaced := replace(Tuple,
Index, ReplaceTuple)
Function name Overview
Example of use
find
Return the indices of all occurrences of a
tuple within another tuple.
Indices := find(Tuple, ToFind)
find_first
Return the index of the first occurrence of a
tuple within another tuple.
Index := find_first(Tuple,
ToFind)
find_last
Return the index of the last occurrence of a
tuple within another tuple.
Index := find_last(Tuple,
ToFind)
first_n
Return the indices of all occurrences of a
tuple within another tuple.
Selected := firstn(Tuple, Index)
last_n
Select all elements from index "n" to the
end of a tuple.
Selected := lastn(Tuple, Index)
select
Select single elements of a tuple.
Selected := Tuple[Index]
Selected := subset(Tuple,
Index)
select_mask
Select in mask specified elements of a
tuple.
Selected :=
select_mask(Tuple, Mask)
select_range
Select several elements of a tuple.
Selected := Tuple[Leftin-
dex:Rightindex]
select_rank
Select the element of rank n of a tuple.
Selected := select_rank(Tuple,
RankIndex)
str_bit_select Select
single
character or bit from a tuple. Selected := Tuple{Index}
uniq
Discard all but one of successive identical
elements of a tuple.
Uniq := uniq(Tuple)
Function name Overview
Example of use
difference
Compute the difference set of two input
tuples.
Difference := difference(Set1,
Set2)
intersection
Compute the intersection set of two input
tuples.
Intersection := intersec-
tion(Set1, Set2)
symmdiff
Compute the symmetric difference set of
two input tuples.
SymmDiff := symmdiff(Set1,
Set2)
union
Compute the union set of two input tuples. Union := union(Set1, Set2)
Summary of Contents for VisionNavi
Page 1: ...User Manual VisionNavi...
Page 6: ...VisionNavi User Manual vi...
Page 8: ...VisionNavi User Manual 16...
Page 9: ...Chapter 1 1 Outline of inspection...
Page 22: ...VisionNavi User Manual 14...
Page 23: ...Chapter 2 2 Tool...
Page 24: ...VisionNavi User Manual 18 2 1 Tool Description List A list of tools that can be selected...