Boost logo

Ublas :

From: Dan Elliott (c_reply_to_at_[hidden])
Date: 2006-05-16 23:26:13


Hello,

I fear that my ignorance about that guts of uBLAS will be made glaringly obvious by this question...

I see that the lu.hpp file has a data type permutation_matrix which inherits from the vector type. However, I would like to discuss the merits of creating a matrix permutation matrix type that would behave more like a matrix (e.g. matrix operators for right and left had operations). Permutation matrices could even fall under a larger family of transformation matrices!

Operations of other types against this type could have specialized algorithms which take advantage of their particular structure. For example, if T were a permutation matrix, and S were diagonal, the operation transpose(T) * S * T has a predictable structure as it goes from left to right.

So, I am looking for feedback on the insanity of my suggestion, refinements to my idea, and eventually assistance understanding the design of uBLAS enough to write the necessary code (plus help if there are other interested parties).

Thank you, in advance, for your time.

-- 
Dan