FunctionOfExponentialQ[u,x] — u is a function of F^v with an explicit * exponential present (not merely a hyperbolic).
(u: Expression, x: string)
| 3367 | const newOps = ops.map((o) => cosLeafShiftRec(ce, o, x)); |
| 3368 | if (newOps.every((o, i) => o === ops[i])) return e; |
| 3369 | return ce.function(e.operator, newOps); |
| 3370 | } |
| 3371 | |
| 3372 | /** Rubi DeactivateTrig standalone-cosine reflection as a full-tree LEAF rewrite: |
| 3373 | * when cosine (with a linear argument) is the SOLE x-dependent trig head, map |
| 3374 | * every `cos[e+f·x] → sin[e+π/2+f·x]` so the integrand routes to the sine |
| 3375 | * chapter (Rubi has no Cosine chapter). Generalizes `unifyInertTrig`'s |