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 algorithms that operate on 
> both scalar and 
> > complex types, inferring the return type.
> 
> > Any opinions?


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to