I would like to clear all definitions of the form f[1,...]
in such a way that f[2,...]
remain unaffected.
The two methods I know to clear variables don't seem to apply to this situation:
Pattern matching with
Clear
:Clear[f[1,"*"]]
orClear["f[1,*]"]
Using the command
=.
f[1,"*"]=.
The second option works for particular values of f[1,...]
but doesn't work with pattern matching.