Boost logo

Ublas :

Subject: Re: [ublas] different size for matrix addition
From: Philipp Kraus (philipp.kraus_at_[hidden])
Date: 2010-06-16 10:19:24


On 2010-06-16 10:12:34 +0200, Andrea Cassioli said:

> Hi,
> I'd like just to point out that, strictly speaking, matrix addition is
> defined only for matrices with the same dimensions. What Kraus maybe
> need is to use from the very beginning with a big empty matrix and
> then use subranges to add contributions inside:

Thanks, that's a perfect hint. I change my algorithm