Field

class odl.set.sets.Field[source]

Bases: Set

A set that satisfies the field axioms.

Examples: RealNumbers, ComplexNumbers or the finite field F_2.

See the Wikipedia entry on fields for further information.

Attributes:
examples

Generator creating name-value pairs of set elements.

field

Field of scalars for a field is itself.

Methods

contains_all(other)

Test if all elements in other are contained in this set.

contains_set(other)

Test if other is a subset of this set.

element([inp])

Return an element from inp or from scratch.

__init__(*args, **kwargs)