SubsetsExtension Class

Subsets extension.

Definition

Namespace: MoreLinq.Extensions
Assembly: MoreLinq (in MoreLinq.dll) Version: 4.4.0+6d97c3b1d482f98300f4446df14742b0e3fafbec
C#
public static class SubsetsExtension
Inheritance
Object    SubsetsExtension

Methods

SubsetsT(IEnumerableT) Returns a sequence of IListT representing all of the subsets of any size that are part of the original sequence. In mathematics, it is equivalent to the power set of a set.
SubsetsT(IEnumerableT, Int32) Returns a sequence of IListT representing all subsets of a given size that are part of the original sequence. In mathematics, it is equivalent to the combinations or k-subsets of a set.

See Also