Matrix operations

Dear Orocos-users,

For our feedback control application I am trying to make an orocos
component for which I need some matrix operations. By operations, I mean
matrix-matrix (and also matrix-vector) multiplication and addition.

I was first recommended to use uBLAS but on some forums on Internet I
read that it's not the best implementation out there. Then I found out
about Eigen that is apparently a rather good implementation of matrix
operations.

At the same time I don't want to go through the hassle of searching so
much but I keep doubting that perhaps they are faster and more efficient
than my own implementation based on vector library.

Does anyone have any experience about this?

Ruben Smits's picture

Matrix operations

Hi Keivan,

On Mon, Feb 17, 2014 at 8:19 AM, Keivan Zavari
<keivan [dot] zavari [..] ...> wrote:
>
> Dear Orocos-users,
>
> For our feedback control application I am trying to make an orocos component
> for which I need some matrix operations. By operations, I mean matrix-matrix
> (and also matrix-vector) multiplication and addition.
>
> I was first recommended to use uBLAS but on some forums on Internet I read
> that it's not the best implementation out there. Then I found out about
> Eigen that is apparently a rather good implementation of matrix operations.
>
> At the same time I don't want to go through the hassle of searching so much
> but I keep doubting that perhaps they are faster and more efficient than my
> own implementation based on vector library.
>
> Does anyone have any experience about this?

I would go for Eigen as it has a broad user base, is actively
maintained and a fairly easy API.

Ruben

> --
> Kind Regards
> Keivan
>
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

Matrix operations

On 02/17/2014 09:26 AM, Ruben Smits wrote:
> Hi Keivan,
>
> On Mon, Feb 17, 2014 at 8:19 AM, Keivan Zavari
> <keivan [dot] zavari [..] ...> wrote:
>>
>> Dear Orocos-users,
>>
>> For our feedback control application I am trying to make an orocos component
>> for which I need some matrix operations. By operations, I mean matrix-matrix
>> (and also matrix-vector) multiplication and addition.
>>
>> I was first recommended to use uBLAS but on some forums on Internet I read
>> that it's not the best implementation out there. Then I found out about
>> Eigen that is apparently a rather good implementation of matrix operations.
>>
>> At the same time I don't want to go through the hassle of searching so much
>> but I keep doubting that perhaps they are faster and more efficient than my
>> own implementation based on vector library.
>>
>> Does anyone have any experience about this?
>
> I would go for Eigen as it has a broad user base, is actively
> maintained and a fairly easy API.
>
> Ruben

+1

and it is already commonly used in Orocos sub/based-projects (KDL, current iTaSC code...), so probably you have it already somewhere as a dependency,
for example:
http://git.mech.kuleuven.be/?p=robotics/itasc_solvers.git;a=blob;f=wdls_...

Nick

>
>
>> --
>> Kind Regards
>> Keivan
>>
>>
>> --
>> Orocos-Users mailing list
>> Orocos-Users [..] ...
>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>
>
>
>