[Maxima] ev error in maxima
robert.dodier at gmail.com
Thu Jun 25 15:27:16 CDT 2009
On Thu, Jun 25, 2009 at 1:59 PM, David
Ronis<ronis at ronispc.chem.mcgill.ca> wrote:
> setting v=0, which I did by ev(%, v=0, v=0); To my surprise, v
> still appears in the result. Is this a bug, or am I missing something?
Well, this isn't exactly a bug, but it is a deficiency in Maxima's
binding mechanism. Only a symbol can be bound, not a
subscripted variable. I think Maxima should treat subscripted
variables just like unsubscripted ones, so that's a wart.
ev attempts to work around that by substituting for subscripted
variables instead of binding them. (Hmm -- another irregularity
in ev; there certainly are a lot of them.) Looks like the substitution
is too early to help in this case. Try ev(''f, v=0, v=0) instead.
> What's interesting is that
> does what you'd expect.
Yeah -- v is an atom, not subscripted, so it's bound.
Hope this helps,
More information about the Maxima