pystencils.AssignmentCollection.new_filtered

pystencils.AssignmentCollection.new_filtered#

AssignmentCollection.new_filtered(symbols_to_extract)#

Extracts equations that have symbols_to_extract as left hand side, together with necessary subexpressions.

Return type:

AssignmentCollection

Returns:

new AssignmentCollection, self is not altered

Parameters:

symbols_to_extract (Iterable[Symbol])