|
Boost Users : |
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-06-26 00:02:24
AMDG
Matthias Schabel wrote:
> The problem being that ublas currently does not correctly resolve the
> value type for arithmetic operations. For "normal" numeric types, even
> if not strictly correct, this is usually not a problem : the type of
> vector<double>*vector<double> is vector<double>. Since all the unit
> magic in Boost.Units is encoded in the types, this isn't true with
> quantities : the type of vector<quantity<length>
> >*vector<quantity<length> > is vector<quantity<area> >... In
> principle, this could be fixed, but would require a significant amount
> of effort on the part of the ublas maintainers.
I've started working on it, and it's actually pretty easy.
I already have matrix multiplication working.
In Christ,
Steven Watanabe
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net