In our last exciting episode "Neal D. Becker" wrote:
> User-Agent: KMail/1.5.3
> I'm thinking that it would be useful to implement a traits class that would
> give the return type of mixed scalar-complex arithmetic operations. This
> would allow one to write generic algorithms that operate on
I'm thinking that it would be useful to implement a traits class that would
give the return type of mixed scalar-complex arithmetic operations. This
would allow one to write generic algorithms that operate on both scalar and
complex types, inferring the return type.
Any opinions?
pgp0.pg
Arithmetic traits can be found in ublas. Just look for promote_traits in
the ublas headers.
> > I'm thinking that it would be useful to implement a traits
> class that
> > would
> > give the return type of mixed scalar-complex arithmetic
> operations. This
> > would allow one to write generic