Boost logo

Boost :

From: John Phillips (phillips_at_[hidden])
Date: 2006-06-14 10:49:39


   Many nuclear reaction rates are modeled in series expansions based on
the 1/3 power of the temperature.
   In general, fitting formulas to measured phenomena will happily use
any power you can imagine, if it gets the behavior right.

                        John Phillips

Janek Kozicki wrote:
> Andy Little said: (by the date of Tue, 13 Jun 2006 00:59:11 +0100)
>
>
>
>>t1_quantity type in PQS is overcomplicated. Two decisions complicated the design
>>of t1_quantity. The first was the requirement to distinguish dimensionally
>>equivalent quantities (torque and energy say).
>
>
> IMHO this distinguish is not that important. We only need units so that
> compiler will check if there is any mistake in the formulas...
>
> Difference between torque and energy happens only during serialization
> (print N*m, or print J ?), so maybe instead of complicated
> abstract_quantity_id, there should be just some extra argument/setting
> that will talk with serialization functions?
>
> Maybe this will make the design a bit leaner.
>
>
>>The second was the use of
>>rational rather than integer powers of dimension.
>
>
> someone suggested using integer powers with twice the value of the
> represented power. That will allow to have one fractional power: an sqrt
> of dimension. Maybe that will solve this?
>
> Anyone has seen in work a fractional power of unit, different than square root?
>
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk