Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2006-12-15 10:33:44


On Friday 15 December 2006 14:59, Karl Meerbergen wrote:
> Gunter,
>
> I have a suggestion: instead of returning a bool you could return a
> X::size_type to indicate how far the triangular solve is carried out.
> So, if x is a vector and the return value is x.size(), then the solve is
> fully carried out. Otherwise the return value tells you how many
> elements of x have been solved for.

Interesting idea, but this may be misleading because the lower triangular
solve starts from the beginning of x and the upper triangular solve starts
from the end of x. The success message would then be x.size() or 0, resp.
I have to think about that.

mfg
Gunter