Difference between revisions of "Manuals/calci/UNION"

From ZCubes Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=UNION(GivenSet1,GivenSet2)=
+
<div style="font-size:30px">'''UNION(GivenSet1,GivenSet2)'''</div><br/>
 
 
 
*where <math>GivenSet1,GivenSet2</math> are the arrays for which union is to be found.
 
*where <math>GivenSet1,GivenSet2</math> are the arrays for which union is to be found.
  
Line 14: Line 13:
 
*UNION([],[1,2,3,4])=1 2 3 4
 
*UNION([],[1,2,3,4])=1 2 3 4
 
*UNION([5],[1,2,3,4])=5 1 2 3 4
 
*UNION([5],[1,2,3,4])=5 1 2 3 4
 +
 +
==Related Videos==
 +
 +
{{#ev:youtube|v=jAfNg3ylZAI|280|center|Union}}
  
 
==See Also==
 
==See Also==

Latest revision as of 14:50, 4 February 2019

UNION(GivenSet1,GivenSet2)


  • where are the arrays for which union is to be found.

Description

  • This function is used to display the union of the given two arrays.
  • Union is the set that contains elements or objects that belong to either GivenSet1 or to GivenSet2 or to both.
  • UNION function will consider text, numbers, or any special characters like @,&...
  • Input other than numbers should be given in quotes.

Examples

  • UNION(["a","b"],["a","b","c","&"])=a b c &
  • UNION([],[1,2,3,4])=1 2 3 4
  • UNION([5],[1,2,3,4])=5 1 2 3 4

Related Videos

Union

See Also

References