Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Manipulation of Symbolic Expressions of Physical (SI) Units Library

5 views
Skip to first unread message

Nordlöw

unread,
Feb 2, 2010, 6:07:55 AM2/2/10
to
I'm looking for a library for runtime manipulation of symbolic
expression of physical (SI) units.

I have already found the project udunits-2 at
http://www.unidata.ucar.edu/software/udunits/udunits-2/udunits2.html
which seems to fit my needs perfectly.

Does anybody know of any C++ wrapper for udunits-2 or any other such
kind of library?

It is kind of problemetic to google/search for these libraries because
the term "unit" is more often interpreted as unit-test library.

Thank in advance,
Nordlöw

Gert-Jan de Vos

unread,
Feb 2, 2010, 6:22:04 AM2/2/10
to
On Feb 2, 12:07 pm, Nordlöw <per.nord...@gmail.com> wrote:
> I'm looking for a library for runtime manipulation of symbolic
> expression of physical (SI) units.
>
> I have already found the project udunits-2 athttp://www.unidata.ucar.edu/software/udunits/udunits-2/udunits2.html

> which seems to fit my needs perfectly.
>
> Does anybody know of any C++ wrapper for udunits-2 or any other such
> kind of library?

Did you try Boost.Units?

Nordlöw

unread,
Feb 2, 2010, 9:59:04 AM2/2/10
to
On Feb 2, 12:22 pm, Gert-Jan de Vos <gert-

I already knew about this library but isn't this compile-time only?
Could we use Boost.Units to implement a run-time representation of
dimension aswell like udunits does?

/Per

Gert-Jan de Vos

unread,
Feb 2, 2010, 10:27:49 AM2/2/10
to

You are right, boost.units is compile time only AFAIK.

0 new messages