| Author |
Comment/Response |
Marco Lepidi
|
02/16/10 10:37am
Given the function:
In: func[μ_, x_[t]] = x[t]μ + x[t] + μ;
I would like to substitute the variable x[t] with g*x[t]. Clearly it is possible to use:
In: ReplaceAll[func[μ, x[t]], x[t] -> g*x[t]]
But I'm looking for a more elegant way to achieve the same result; the simplest one
In: func[μ, g*x[t]]
doesn't work (why?). Any suggestion?
Thank you for the attention
ML
URL: , |
|