Matchete`
Matchete`

GetOperatorCoefficient

GetOperatorCoefficient[expr,operator]

extracts the coefficient of the operator matching exactly (except for index names) the form given by operator.

Examples