Logo GenPRES

Set Module

Removes from a set of BigRational values every value which is a multiple of another value in the set, and formats a set as text.

Nested modules

Modules Description

Tests

Holds the Unquote test of the removeBigRationalMultiples function.

Functions and values

Function or value Description

Set.removeBigRationalMultiples xs

Full Usage: Set.removeBigRationalMultiples xs

Parameters:
Returns: Set<BigRational>

In summary, the purpose of this function is to remove all elements from a given set of BigRational numbers that are multiples of any other element in the same set. The function returns a new set containing only the non-multiple elements.

xs : Set<BigRational>
Returns: Set<BigRational>

Set.toString xs

Full Usage: Set.toString xs

Parameters:
Returns: string
Type parameters: 'a (requires comparison)
xs : Set<'a>
Returns: string

Type something to start searching.