Skip to content

MatchIterator

Symbolica documentation for getting started, symbolic expressions, numerical evaluation, pattern matching, and APIs in Python and Rust.

MatchIterator

class MatchIterator

An iterator over matches.

Methods

Name Description
__iter__ Create the iterator.
__next__ Return the next match.

__iter__

MatchIterator.__iter__() -> MatchIterator

Create the iterator.

__next__

MatchIterator.__next__() -> dict[Expression, Expression]

Return the next match.