- To: mathgroup at smc.vnet.net
- Subject: [mg46800] Substitution
- From: DrBob <drbob at bigfoot.com>
- Date: Tue, 9 Mar 2004 04:30:43 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
HoldTemporary may do the trick for you.
Hold or HoldForm might also do it:
p = a*x + b*x;
p + HoldForm[Subscript[p, D]]
From: Bruce W. Colletti (bcolletti at compuserve.com)
To: mathgroup at smc.vnet.net
Subject: [mg46800] Substitution
This is the only article in this thread
View: Original Format
How to make the variable Subscript[p,D] wholly unrelated to variable p?
For instance, the notebook...
p = a x + b x;
p + Subscript[p,D]
...produces a x + b x + Subscript[ax+bx,D].
But I want p + Subscript[p,D] and thereafter, to freely use
Subscript[p,D] without it being affected by the p-value. Symbolizing
Subscript[p,D] didn't work.
Prev by Date:
append to a file
Next by Date:
Re: Problem with Mathematica driving me nuts
Previous by thread:
Next by thread: