I just noticed that the following seems okay: sage: f(t)=matrix([t,t^3]) sage: type(f(t)) <type 'sage.symbolic.expression.Expression'> sage: type(f(t).pyobject()) <type 'sage.matrix.matrix_symbolic_dense.Matrix_symbolic_dense'>
However, not much seems to work correctly: sage: var('a') a sage: f(a) [ t t^3] sage: f(t=4) [ t t^3] How do I get f(t=3) to behave like: sage: f(t).pyobject()(t=3) [ 3 27] Also, for multivariable calculus, it would extremely cool if the following worked: sage: f(t)=vector([t,t^2]) Traceback (most recent call last): ... TypeError Any suggestions on how to get it working? Thanks, Jason -- Jason Grout --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---