Boost logo

Ublas :

Subject: Re: [ublas] [bindings] naming for sparse matrices
From: Karl Meerbergen (Karl.Meerbergen_at_[hidden])
Date: 2010-02-09 05:11:06

>> I guess the tridiagonal format is a special case of a special banded
>> format. This may be best realized by a "banded_view" over a normal matrix,
>> like mtl4 offers. But I would have to study both ublas and mtl4 more in
>> detail to see whether their offering for banded matrices supports this.
>> Without support for tridiagonal matrices in the existing matrix libraries,
>> the current bindings for tridiagonal matrices might be not so bad after
>> all.
> Not the most important case, yet, too?

They are used in some specialized linear algebra codes. I think mtl and
glas offer formats that are compatible with lapack. Using ublas is more
tricky. Lapack usually asks the user to pass diagonals for the case of
tridiagonal matrices (i.e. no banded format used).