Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2006-06-13 17:28:28

Am Dienstag, 13. Juni 2006 16:13 schrieb Martin Wiebusch:
> A = prod(prod(herm(O),A), O);
> gives this error on compilation:

this static assertion is a feature because you have to create a
temporary matrix for such products. (Otherwise the computational
complexity would be extremly large, AFAIK O(n^6))

try this:

  A = prod(prod<TEMP_MATRIX>(herm(O),A), O);

and read this
section "Controlling the complexity of nested products"