1. Re: subscripts (Long Post)
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> May 16, 2000
- 458 views
Here's my two cents. <plug> I'm working on something with my matheval toolkit (see the user contributions page), namely substituting mathematical identities within an expression, which could be buried anywhere in the structure of the expression. </plug> Basically, it's a specialized pattern matcher that will find things like trig identities buried within [deeply nested] sequences, and replace them with whatever the appropriate identity would be (eg, cos^2(x+1) + sin^2(x+1) ==> 1). But, of course, this could be buried anywhere, and I need to be able to get in to do the substitution. Rather than using a bunch of complicated recursion as I am currently attempting, it would be a lot easier to subscript using sequences. I understand that this would sully the 'clean' subscripting that Eu has now, and that might make it not worth changing, but this seems like it would definitely be a powerful addition. Another argument in favor of subscripting by sequence might be the inherent flexibility of sequences themselves. We can do all sorts of operations on them, but can only access them in one way. Matt Lewis