Difference between revisions of "Merge Functions in z^3 Sets/Arrays"
Jump to navigation
Jump to search
(Created page with "<div style="font-size:30px">'''Merge Functions'''</div><br/> ==Description== There are 4 types of merges. * merge * mergerows * mergecolumns * mergeio '''1. merge''' *This f...") |
|||
Line 17: | Line 17: | ||
c = a.merge(b,SUM[]) | c = a.merge(b,SUM[]) | ||
'''c = [5,7,9]''' | '''c = [5,7,9]''' | ||
+ | |||
+ | '''2. mergerows''' | ||
+ | *This allows the user to merge the rows of two arrays. |
Revision as of 09:07, 11 November 2016
Merge Functions
Description
There are 4 types of merges.
- merge
- mergerows
- mergecolumns
- mergeio
1. merge
- This function facilitates the user to merge two array values using a function, such as SUM, CONCAT, etc...
c = a.merge(SomeOtherArray, SomeFunction)
For example: a = [1,2,3]; b = [4,5,6]; c = a.merge(b,SUM[]) c = [5,7,9]
2. mergerows
- This allows the user to merge the rows of two arrays.