From: boost (boost_at_[hidden])
Date: 2002-01-21 05:18:09
On Saturday 19 January 2002 16:24, jhrwalter wrote:
> Sorry, I do not see any right multiplication with a scalar here.
As long as the scalars are commuting one can always commute them to
the left side, so there's no need.
> > > Division is another topic. We once discussed to introduce such a
> > > division operator for accuracy reasons, although it's usually not
> > > defined mathematically, too.
> > what's the diff between M * ( 1 / a ) and M / a * 1
That could be hidden by a proxy class that defines multiplication
double operator *( const DivivisionInsteadOfMultipliplication r, double x)
return x / r.value();
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk