AngouriMath
PowerSet(AngouriMath.Entity)
Method (no overloads)
Summary
The set of all subsets of a set, written powerset(S) . Listed for a finite
set, with the empty set and the set itself among the members; an object with a
membership test for an infinite one.
set, with the empty set and the set itself among the members; an object with a
membership test for an infinite one.
Example
Console.WriteLine(MathS.Sets.PowerSet(MathS.Sets.Finite(1, 2)).Evaled);
Console.WriteLine(MathS.Sets.Finite(1, 3).In(MathS.Sets.PowerSet(MathS.Sets.Z)).Evaled);Prints
{ { }, { 2 }, { 1 }, { 1, 2 } }
TrueAngouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online