Boost logo

Ublas :

Subject: Re: [ublas] Questions about prod(prod(A,B),C)
From: Gunter Winkler (guwi17_at_[hidden])
Date: 2008-11-26 15:53:57


Am Mittwoch, 26. November 2008 19:08 schrieb Chris Rodgers:
> Hi,
>
> I'm trying to get to grips with uBLAS.
>
> I attach a .cpp file that illustrates my problems with five quick
> questions inside.

1) A.clear();

2) no. (At least not in the official boost release.)

4) what is the compiler output?

5) this is forbidden because the real complexity is much higher that
O(n^3). see
http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Effective_UBLAS
(Controlling the complexity of nested products)

mfg
Gunter