## FiniteSet

← Back to list of classes

## Description

Summary

A finite set is a set whose elements can be counted and enumerated

## Members

• ### #ctor (AngouriMath. Entity[])

Summary

Constructor of a finite set
Use Empty to create an empty set

• ### #ctor (System. Collections. Generic. IEnumerable{AngouriMath. Entity})

Summary

Constructor of a finite set
Use Empty to create an empty set

• ### Apply (System. Func{AngouriMath. Entity, AngouriMath. Entity})

Method

Summary

Applies a function to every element of a set
and returns a set

Parameter "func"

What we do with each element?

Property

• ### Count

Property

Summary

Represents number of entities in the current set

• ### Deconstruct (System. Collections. Generic. IEnumerable{AngouriMath. Entity}@)

Method

Summary

Deconstructs as record

• ### Elements

Property

Summary

The IEnumerable of elements of a finite set

• ### Equals (AngouriMath. Entity. Set. FiniteSet)

Method

Summary

Checks that two FiniteSets are equal
If one is not FiniteSet, the method returns false

Method

• ### GetEnumerator

Method

Summary

Used for enumerating. Use "foreach" for iterating over elements

Method

• ### GetPowerSet

Method

Summary

Finds such a set that only contains all subsets of the given set

Method

Method

Method

Property

Property

Method

• ### op_Implicit (System. String)~AngouriMath. Entity. Set. FiniteSet

Method

Summary

Converts from string to specifically finite set

Parameter "expr"

From where to parse

Method

Method

Method

Method

Method

• ### TryIsSubsetOf (AngouriMath. Entity. Set. FiniteSet, System. Boolean@)

Method

Summary

Safely checks whether this is a subset of the argument,
if successful, returns true AND stores the result in isSub

Returns

Whether it is possible to determine

Angouri © 2019-2022 · Project's repo · Site's repo · Octicons