Boost logo

Glas :

Re: [glas] value_type

From: Matthias Troyer (troyer_at_[hidden])
Date: 2005-10-03 15:45:44


On Oct 3, 2005, at 10:28 PM, Toon Knapen wrote:

> Matthias Troyer wrote:
>
>>
>> We need to use matrices and vectors of symbolic expressions in
>> some of
>> our applications, and it would thus be important that not only
>> numeric
>> values but any value could be supported. Why should there be a
>> restriction to floating point and complex types only?
>>
>>
>
>
> Currently all types that are a model of the NumericValue concept
> can be
> used as a value_type of a matrix. Do you think this is too
> restrictive?
> And if yes, what exactly is too restrictive for your case ?
> (the doc for the NumericValue concept is attached)

These requirements are fine. However, a restriction just to float,
double, long double and the corresponding complex types would be too
restrictive.

Matthias