Has anyone considered an application to calculate with systems of
units, such as SI? I understand that it would be difficult to include
in the primitives, but as an application it would be extremely useful
a lot of the time. It would attract a lot of users. MathCad is a good
example, but MathCad is difficult compared to J for complex
manipulatioms, whereas keeping track of units in J becomes a tedious
and error prone manual operation. I've done several great applications
in Hydrocarbon processing (e.g. flare radiation calcs), but had to put
a lot of special and inflexible coding in for units.

The problem is making sense of (40*kg)=(4*m^3) *(10*kg%(m^3)). Seems
like an adverb. On the other hand, conceptually, every dimensioned
value is a 4 item list: (value,exponent mass, exponent length,
exponent time).

40 1 0 0 results from 4 0 1 0 * (adverb) 10 1 _3 0

Not so easy, but maybe it can be solved.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to