Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2005-08-20 05:06:10


Am Samstag, 20. August 2005 02:53 schrieb Sashan Govender:
> Hi
>
> I've just upgraded to uBlas that comes with Boost 1.33 and code I
> previously wrote fails to compile when trying to use operator [] with
> matrix and vector classes. Have these operators been removed? Also I
> notice that the class sparse_matrix is no longer avaliable.

You have to define

#define BOOST_UBLAS_ENABLE_PROXY_SHORTCUTS

before all ublas headers to have the wanted behavior.

sparse_matrix has been renamed to mapped_matrix becauses it better
correspond to the implementation.

mfg
Gunter