Message Boards Message Boards

0
|
5696 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Question about subscript

Posted 9 years ago

I have a very long formula. There are variables R1, and R. Every time when I change the value of R. like R=1, and R1 also change to 11. Is there any way to make R and R1 be two completely individual variables? Thanks!

POSTED BY: Qy Liu
2 Replies

This problem is addressed by the Notation package, and in particular by its function Symbolize. Have a look at the Notation/tutorial/NotationSymbolizeAndInfixNotation tutorial.

POSTED BY: Gianluca Gorni
Posted 9 years ago

I was dealing with infix functions and have just discovered this Notation package It's really great! For instance in time series, one could make the code more readable by using the following notation:

<< Notation`

Notation[ParsedBoxWrapper[
SubscriptBox["x_", "t_"]] \[DoubleLongLeftRightArrow] ParsedBoxWrapper[
RowBox[{"x_", "[[", "t_", "]]"}]]]
POSTED BY: Sandu Ursu
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract