Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • $\begingroup$ Does this also explain why Cases[Erfc[b], _Erfc, Infinity] gives {}? $\endgroup$ Commented Apr 30, 2021 at 13:31
  • $\begingroup$ @MikaelFremling, no, this seems to be related to expression Head being a symbol, see the edit, not sure why $\endgroup$ Commented Apr 30, 2021 at 15:31
  • 2
    $\begingroup$ @MikaelFremling Try Cases[Erfc[b], _Erfc, {0, Infinity}]. The level spec Infinity is equivalent to {1, Infinity}. $\endgroup$ Commented Apr 30, 2021 at 16:46