Field

class odl.set.sets.Field[source]

Bases: odl.set.sets.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(self, other)

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

contains_set(self, other)

Test if other is a subset of this set.

element(self[, inp])

Return an element from inp or from scratch.

__init__(self, /, \*args, \*\*kwargs)

Initialize self. See help(type(self)) for accurate signature.