freebsd-ports/math/ruby-numru_units/pkg-descr
Pav Lucistnik 00a09b915b Add ruby-numru_units, a Ruby class to handle units of physical quantities
like 'hPa' -> '100 kg.m-1.sec-1' etc..

PR:		ports/64247
Submitted by:	Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp>
2004-03-14 16:18:27 +00:00

14 lines
679 B
Text

A class of units of physical quantities for Ruby.
This class covers most functionality of UNIDATA's UDUNITS Library, however,
with a more sophisticated handling of string expressions.
UDUNITS always decomposes units into the four base units and discards the
original string expressions. Therefore, 'hPa' always becomes '100
kg.m-1.sec-1', and 'day' always becomes '86400 sec'. On the other hand, this
library tries to keep the original expressions as much as possible by default,
while allowing partial to complete decompositions if needed.
Author: Takeshi Horinouchi <horinout@kurasc.kyoto-u.ac.jp>
Eizi Toyoda
WWW: http://www.gfd-dennou.org/arch/ruby/products/numru-units/