Boost logo

Glas :

Re: [glas] value_type

From: Herman Bruyninckx (Herman.Bruyninckx_at_[hidden])
Date: 2005-10-03 05:46:01


On Mon, 3 Oct 2005, Karl Meerbergen wrote:

> We now have started the development of some functions for vectors since
> a few weeks. All of them rely on the fact that the value_type's are
> numerical value types (NumericValue concept). In the first document
> about GLAS we supposed that vectors and matrices only contain numerical
> values. I recall vague suggestions on the mailing list on expanding the
> value_type to other than float, double, std::complex<float>,
> std::complex<double>.
>
> Before continuing with any more new algorithms, it might be good to know
> which other value_type's should be supported.
>
I can imagine some use cases for ints (e.g., computer vision, where each
image is matrix of integer values, from 0-256, or 0-2^16), and for "bools"
(e.g., vectors of digital IO, or "incidence" representations for graphs,
etc.).

Herman

--
   K.U.Leuven, Mechanical Eng.,  Mechatronics & Robotics Research Group
     <http://people.mech.kuleuven.be/~bruyninc> Tel: +32 16 322480
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm