AngouriMath
Intersect(System.Collections.Generic.IEnumerable{AngouriMath.Entity.Set})
Method (no overloads)
Summary
Computes the intersection of your IEnumerable's and makes it one Set.
Applies the "and" operator on those nodes
Applies the "and" operator on those nodes
Returns
A set of unique elements
Example
An empty sequence gives the empty set rather than the universe, so the identity of
this fold is not the mathematical one:
Prints
this fold is not the mathematical one:
var meet = new Set[] { "{ 1, 2 }", "{ 2, 3 }" }.Intersect();
Console.WriteLine(meet);
Console.WriteLine(meet.Simplify());
Console.WriteLine(new Set[] { }.Intersect());Prints
{ 1, 2 } /\ { 2, 3 }
{ 2 }
{ }Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online