Difference between revisions of "Array.diagonal()"
Jump to navigation
Jump to search
(Created page with "* << Z3 Home * Z3 Language Documentation * Z%5E3_Array_Manipulation_Member_Functions | Listing of Z3 Array Manipulation Member F...") |
|||
Line 7: | Line 7: | ||
Extract the diagonal at nthDiagonalIndex (-ve for diagonals below the proper diagonal, and zero for the proper diagonal). | Extract the diagonal at nthDiagonalIndex (-ve for diagonals below the proper diagonal, and zero for the proper diagonal). | ||
+ | |||
+ | |4|.diagonal(0..2) | ||
+ | |||
+ | |4|.diagonal(0) | ||
+ | |||
+ | |4|.diagonal(-1..1) |
Latest revision as of 11:44, 10 April 2020
Array.diagonal(nthDiagonalIndex)
Extract the diagonal at nthDiagonalIndex (-ve for diagonals below the proper diagonal, and zero for the proper diagonal).
|4|.diagonal(0..2)
|4|.diagonal(0)
|4|.diagonal(-1..1)