Matrix of submatricies...

Dear all, [you may need a fixed with font] Consider the following 4x4 matrix which is a 2x2 matrix of submatricies. A B | 0 0 C D | 0 0 ----+---- 0 0 | a b 0 0 | c d Clearly matrix operations such as products do not need to involve the off diagonal (zero) sub matricies. Is there a matrix type that "knows" about this type of matrix so that when prod() is carried out it does not do unnecessary operations with the zero elements? -ed

Sparse BLAS implements some operations for this type of matrix (look
for zbdimm), although its interface is in C (no generic programming).
Maybe someone could port those routines to uBlas.
On 9/15/05, Edward Grace
Dear all,
[you may need a fixed with font]
Consider the following 4x4 matrix which is a 2x2 matrix of submatricies.
A B | 0 0 C D | 0 0 ----+---- 0 0 | a b 0 0 | c d
Clearly matrix operations such as products do not need to involve the off diagonal (zero) sub matricies. Is there a matrix type that "knows" about this type of matrix so that when prod() is carried out it does not do unnecessary operations with the zero elements?
-ed _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Edson Tadeu
-
Edward Grace