When I use substitute_function to declare a function within an existing
equation, I get the following message:
DeprecationWarning: Substitution using function-call syntax and unnamed
arguments is deprecated and will be removed from a future release of
Sage; you can use named arguments instead, like EXPR(x=..., y=...)
Also, when I substitute a function
f(t) with x, x is not interpreted as a constant but as t which is not
what I want.
sage: var('x,t,t1,t2')
(x, t, t1, t2)
sage: function('o',t)
o(t)
sage: integrate(o(t),t,t2,t1)
integrate(o(t), t, t2, t1)
sage: integrate(o(t),t,t2,t1).substitute_function(o,x)
1/2*t1^2 - 1/2*t2^2
(here, I expected something like x*(t1-t2))
What can I do to work around the Warning as well as make sage to do what
I want?
----------------------------------------------------------------------
| Sage Version 4.3.3, Release Date: 2010-02-21 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
On Ubuntu 9.10
Thank you very much,
Tobi
--
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
To unsubscribe from this group, send email to
sage-support+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.