From: Karl Meerbergen (Karl.Meerbergen_at_[hidden])
Date: 2005-02-17 03:20:13
Dima Sorkin wrote:
> Is uBlas intended to work with types other than
>'double' and 'float' based ?
> I mean with any classes that support the '*', '*='
>operations ( i.e. (double)*(custom class) ) and '+', '+=' '-' ... operators ?
> I didn't suceeded to multiply matrix of double with my custom class of
>3d vectors, without interventing into promote_traits inside '...::ublas::'
> I asked this question long before. Someone has any answer ?
>ublas mailing list
It is correct you have to specialize promote_traits and type_traits for
your own value types. I have never done this, so I am not sure this is