simp:false after load(unit)



On 6/27/09, Douglas A Edmunds <dae at douglasedmunds.com> wrote:

> I do not understand the error messages pertaining
> to "false" that occur after load(unit) if simp:false;

Well, here is a shorter example which seems to show the same behavior.

(%i1) L : [1, 2, 3];
(%o1)                       [1, 2, 3]
(%i2) simp : false;
(%o2)                         false
(%i3) L [1 + 1];
Subscript must be an integer:
1 + 1

In Maxima, arithmetic is a simplification, i.e. applying an identity.
The subscript of a literal list must be an integer.
When simp=false, 1 + 1 isn't simplified to 2, hence the error.

Many operations are implemented via simplification, so simp=false
will make Maxima behave rather differently.

Perhaps you can say a little bit about what you're trying to achieve?

best

Robert Dodier