--- Eike Welk wrote:
> This looks really nice!
>
> What would it answer if I typed the following in the example session
> that you gave? (Note the missing "^2".)
>
> (%i15) dimension(x0+v0*t+1/2*a*t);
>
> With other words: How efficiently could I check my (lengthy) formulas
> for dimensional correctness?
Well, as of right now the result of the above is:
(%i5) dimension(x0+v0*t+1/2*a*t);
%length 4 %length
(%o5) ------- + ---------
5 %time 5
Whereas the correct formula gives:
(%i6) dimension(x0+v0*t+1/2*a*t^2);
(%o6) %length
So in a sense you could say returning a nonsense dimension is a sign
something is wrong. Barton's package undoubtedly is more effective
than this functionality in all respects, but incorporating it properly
will take some time. So I guess it's not really ready for prime time
if you want it to be really intelligent, but it's better than nothing.
CY
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com