
Boost : 
From: Andy Little (andy_at_[hidden])
Date: 20060830 18:46:02
"David Abrahams" <dave_at_[hidden]> wrote in message
news:87d5aim3d8.fsf_at_pereiro.peloton...
>> typedef complex<resistance> impedance;
>> complex<voltage> v;
>> complex<current> i
>>
>> impedance z = v / i;
>>
>> This is of course an entirely practical example.
>
> Without knowing the details of your library, a welldesigned generic
> library usually defines nonintrusive concepts that allow any type to
> satisfy the requirements, given some additional traits and functions.
> There should be no need to write a new quaternion.
Without knowing the details of Your library....etcetera...
One way or another, presenting Maxwells Equations in the form of physical
quantities is a goal of Quan.
Of course whether it has a practical use is another matter :)
regards
Andy Little
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk