Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2006-08-01 14:27:44


emijah_s_at_[hidden] schrieb:
> Could you please elaborate on the last part? We are using uBlas for a robotics application and the
> typical size of a matrix tends to be pretty small(around 6x6 typical, 35x35 maximum). So it doesn't
> really make sense to use atlas which tends to be effective for large matrices.
>
> I'd like to try out what you mentioned to see if we can use it to boost performance a bit.
>
>

There were a lot of "mul_bench" examples on this list some time ago. The
typical problem of ublas is, that it is hard to give the correct
(partial) specilization because the expression templates produce very
ugly and long types. The first try would be to write a better

rowmatrix prod(const rowmatrix& a, const colmatrix& b)

function, but ,as I told, it is hard to chose the correct types for
rowmatrix and colmatrix.

this would be much easier if rowmatrix and colmatrix have a fixed size
which is part of the type.

mfg
Gunter