It occurs to me that sometimes you might need to multiply or
divide by dimensionless constants.

dimensionless=:1 :0
  '';m;i.0
)

Example use
   10 dimensionless *uni 3 m 2

You might want to pick a shorter name.

I did not support ^ but you could work around that for
the easy cases using an expression of the form.
  1 dimensionless *^:y x

(I could code up support for other cases, if I had a
good example of what those cases were supposed to
mean -- I can guess, but I'd hate to guess wrong.)

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to