Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2008-01-29 16:41:39


choon schrieb:
> Gunter Winkler wrote:
>
>> There is only one restriction: size1 * size2 has to fit into the size_t
>> type. Thus you need at least a 64-Bit machine to address all matrix
>> entries.
>>
>>
> Does this restriction apply in the case of compressed_matrix?
>
No. Here, the restriction is that the number of non-zero elements which
can be stored should be less than 2^63. This way we can ensure that
differences of pointers are representable. The exact implementation (or
cause) of these limits can be found in the source of the resize() functions.

mfg
Gunter