AngouriMath

Navigation

← Back to list of members

Unite​(System.​Collections.​Generic.​IEnumerable{AngouriMath.​Entity.​Set})

 Method (no overloads)

Summary

Unites your IEnumerable into one Set.
Applies the "or" operator on those nodes

Returns

A set of unique elements

Example

The union node is built but not collapsed; Simplify(System.Int32) collapses it:
var union = new Set[] { "[0; 1]", "[1; 2]" }.Unite();
Console.WriteLine(union);
Console.WriteLine(union.Simplify());

Prints
[0; 1] \/ [1; 2]
[0; 2]

























Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online