comp.lang.ada
 help / color / mirror / Atom feed
From: lutz@iks-jena.de (Lutz Donnerhacke)
Subject: Computing with SI-units
Date: Wed, 28 Nov 2001 11:11:10 +0000 (UTC)
Date: 2001-11-28T11:11:10+00:00	[thread overview]
Message-ID: <slrna09hic.l4.lutz@taranis.iks-jena.de> (raw)
In-Reply-To: slrna09aun.l4.lutz@taranis.iks-jena.de

http://www.iks-jena.de/mitarb/lutz/ada/units/

Rechnen mit SI-Einheiten unter Beachtung der Einheitendimensionen. Es
existieren zwei Varianten: Die einfache Typendefinition, die explizite
Konvertierungen zwischen Multiplikationen und Additionen verlangt und die
Verwendung von tagged Typen, die einige dieser Konvertierungen ersparen.

Computing on SI-units respecting the unit dimensions. There are two
different implementations: One that uses simple types and so requires
explicit convertion between multiplication and addition, while the tagged
variant reduces a substantial amount of such typing.

The problem is known in cla as the "matrix operations with compile time
discriminat checking" problem. A solution to the matrix-problem allows a
very efficient implementation to the SI-problem, too. So this SI-solution
might be also valueable for the matrix people.

F'up: comp.lang.ada (For German discussions please use de.comp.lang.misc
                     where the problem occurs upthread)



           reply	other threads:[~2001-11-28 11:11 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <slrna09aun.l4.lutz@taranis.iks-jena.de>]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox