Difference between revisions of "Array.concatall()"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | *[[ Z3 | << Z3 Home ]] | ||
+ | *[[ Z%5E3_Language_Documentation | Z3 Language Documentation]] | ||
+ | *[[ Z%5E3_Array_Manipulation_Member_Functions | Listing of Z3 Array Manipulation Member Functions]] | ||
+ | |||
+ | ==Array.concatall(LimitArray, IncludeEdges)== | ||
This function concatenates all the elements in an array or table row wise. | This function concatenates all the elements in an array or table row wise. | ||
Latest revision as of 03:22, 30 April 2020
Array.concatall(LimitArray, IncludeEdges)
This function concatenates all the elements in an array or table row wise.
Example
1.
a=FUNCT("[x,x^2]") b=a(2..5) b.concatall()
-->The above code defines a function to display the entry elements and their squares. Later, concatall() concatenates all the elements row wise.
b is obtained as :
2 4 5
4 16 25
Final conacatenated output is - 2 4 5 4 16 25
2.
a=["aa","bb","cc"] a.concatall()
Output-->aa bb cc