On Mon, Sep 6, 2010 at 11:58 AM, Michael Beeson <[email protected]> wrote: > I want to create a vector space of dimension three, over the field > whose elements are symbolic expressions. (The reason is that then I > can do vector calculus on such objects, which represent surfaces in 3- > space if the expressions depend on 2 parameters.) How can I do > this? The following, for example, doesn't work:
Use SR instead of Expression: sage: cos(x).parent() Symbolic Ring sage: SR Symbolic Ring sage: VectorSpace(SR, 3) Vector space of dimension 3 over Symbolic Ring --Mike -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
