Glas :Re: [glas] value_type |
From: Karl Meerbergen (Karl.Meerbergen_at_[hidden])
Date: 2005-10-06 02:01:52
Peter Gottschling wrote:
>On 05.10.2005, at 10:10, Karl Meerbergen wrote:
>
>
>
>>Hello all,
>>
>>I split the NumericValue concept as follows (and adapted concept,
>>models and
>>code) to this proposal:
>>
>> * ClearableValue : zero<T>() needed for clearing
>> * AdditiveGroupValue: +, -: used by the norm functions
>> * RingValue: added * (not needed at this stage, but will be for
>>dot)
>> * HasModulus: needed for norm functions
>>
>>
>
>Hi Karl,
>
>I would prefer HasMagnitude or something along these lines. Modulus is
>for me the remainder of a division.
>
>Cheers,
>
>Peter
>
I might be mistaken, but I thought that modulus is the term for absolute
value for complex (and thus also real) values, while modulo is used for
the remainder of the division?
Karl
>
>
>
>> * OrderedValue: needed for max : norm_inf
>>
>>Karl
>>_______________________________________________
>>glas mailing list
>>glas_at_[hidden]
>>http://lists.boost.org/mailman/listinfo.cgi/glas
>>
>>
>>
>------------
>Peter Gottschling
>Research Associate
>Open Systems Laboratory
>Indiana University
>301i Lindley Hall
>Bloomington, IN 47405
>Tel.: +1 812 855-8898 Fax: +1 812 856 0853
>http://www.osl.iu.edu/~pgottsch
>
>_______________________________________________
>glas mailing list
>glas_at_[hidden]
>http://lists.boost.org/mailman/listinfo.cgi/glas
>
>
>
-- ============================================== Look at our unique training program and Register on-line at http://www.fft.be/?id=35 ---------------------------------------------- Karl Meerbergen Free Field Technologies 16 place de l'Université B-1348 Louvain-la-Neuve - BELGIUM Company Phone: +32 10 45 12 26 Company Fax: +32 10 45 46 26 Mobile Phone: +32 474 26 66 59 Home Phone: +32 2 306 38 10 mailto:Karl.Meerbergen_at_[hidden] http://www.fft.be ==============================================