Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-07-15 08:16:00


From: "Toon Knapen" <toon.knapen_at_[hidden]>

Shorter notation (as being discussed currently):

Temp(range(0, last-start), range::all() ) .assign (
  prod( herm(WW(range::all(), range(start, last))),
V(range(WW.size1(),VV.size1()), range::all()))
  + prod( herm(Hessenberg(range(start, next), range(start, last))),
  prod( herm(WW(range::all(), range(start, next))), V(range(0, WW.size1()),
range::all()))
) );

[dwa] You might consider including a constant called "_" which stands in
for range::all().

Personally, it's still all Greeek to me ;-)
Why is an .assign() member function being used instead of operator= ?
I thought uBlas had expression templates!?

-Dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk