> A better syntax to access it from PolynomialRing (and also FreeAlgebra > and friends) would be > > sage: PolynomialRing(QQ, 'x', (2,2)) > Multivariate Polynomial Ring in x00, x01, x02, x10, x11, x12 > over Integer Ring > > Please tell me: > - if 'var_array' is useful to somebody (otherwise it will be deprecated) > - if it makes sense to have a feature for the above multi-indexing of > variables > > I've used it to create arrays of variables to do a symbolic matrix computation. When I wrote it, I did it in as simple of a way as I could without having to rewrite the constructor, and as such, I only really considered (very) small matrices up to 10x10. With some experience using it, it would be better to not just use 0, 1, 2, ..., 100 but 000, 001, ..., 100 for each index to prevent ambiguity/collisions (i.e., the length of each number is the number of digits).
I like your proposed syntax, but I'm slightly worried it might conflict with some other acceptable input. Up to that, it's a +1 from me. Best, Travis -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
