kpeeters / cadabra2

A field-theory motivated approach to computer algebra.
https://cadabra.science/
GNU General Public License v3.0
215 stars 37 forks source link

Provide a pattern to select all terms involving a particular factor #161

Open kpeeters opened 4 years ago

kpeeters commented 4 years ago

See https://cadabra.science/qa/1284/extending-zoom-function ; we need a way to specify that the pattern a Q?? should match even when Q?? is empty, or there should be a way to specify multiple patterns in a single zoom, so that zoom(_, $a, a Q??$) works.