Array.pip()

From ZCubes Wiki
Revision as of 10:53, 5 February 2020 by Joseph (talk | contribs) (Created page with "* << Z3 Home * Z3 Language Documentation * Z%5E3_Array_Manipulation_Member_Functions | Listing of Z3 Array Manipulation Member F...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Array.pip(SomePathIndexArray, SomeLength, SomePassThroughFunction)

  • pip is push plus insert. The array is split at the nodes in SomePathIndexArray, and a slice of length SomeLength is pushed into these array indices, and the values are massaged with SomePassThroughFunction if provided.

Example: 1..10.pip(5,2)

1

2

3

4

5

6 7

8

9

10