1 Apr 2005 01:04
Re: Maple Units package
C Y <smustudent1 <at> yahoo.com>
2005-03-31 23:04:30 GMT
2005-03-31 23:04:30 GMT
--- Eike Welk <eike.welk <at> post.rwth-aachen.de> wrote:
>
> I want to use m, l, s ... as variable names (formula symbols).
> Otherwise I'd have to use something like: var_m, var_l, var_s. I
> think it would be quite confusing when many commonly used symbols
> would suddenly have a special meaning as unit names.
Hmm. OK. For me this would be bad practice, since my brain would see
m in a unit context and make the obvious assumption, but I can see how
other people would be different.
> An easy workaround would be using a common prefix like: unit_m,
> unit_l, unit_s.
I guess what I could do is assign a unit prefix which can be appended
to the unit definition arrays. E.g. the program could go through and
stick unit_ on all current unit names. Something like :
setunitprefix("unit_");
> Yes, chemical reactions are always present as ratios in mol/mol or
> g/g. As mol(O2)/mol(H2) the units are much more usefull.
>
> I consider this an advanced feature, which can wait. In Maple, the
> way I use it seems not to be documented.
I think this would make more sense as part of a chemistry package which
makes use of the units package. I could add all interesting periodic
table information while I'm at it
.
(Continue reading)
RSS Feed