|
Ublas : |
From: Dima Sorkin (dsorkin_at_[hidden])
Date: 2005-07-11 07:00:20
Hi.
I want to sum up the patterns of work with custom scalars with ublas today:
For control of binary operations with custom scalars =>
=> define new specializations of promote_traits<> in ublas namespace.
This can change to boost::result_of<> in the future.
Unary operations, norms etc :
=> define specializations of the newcoming type_traits<> class
(with or without abs(.) etc) ,same namespace,same way.
This may change to boost::call_traits<> in the future.
Is this is all needed to make it work today ?
Regards,
Dima.