$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-10-09 17:35:25
Geoffrey Romer wrote:
> Would there be any interest in a library for attaching units (physical
> or otherwise) to numeric variables, so that the type system could
> enforce dimension- and unit-consistency in all calculations, and
> convert semi-automatically between compatible units?
>
> To make this a little more concrete, here's a sketch of the kind of
> code such a library could enable:
Try searching the archives for "physical quantities" or "pqs"; you should find
extensive discussion and references to several proposed libraries.
-- Jonathan Turkanis www.kangaroologic.com